diff options
author | James Booth <boothj5@gmail.com> | 2012-11-27 21:59:48 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-11-27 21:59:48 +0000 |
commit | 4b460100ad73c24233ffad79d52b8ee6d1c172bb (patch) | |
tree | 081dab0d2875a2ca922acc5fee0d9d01ee02c1d6 | |
parent | ebf8911ffc2fc10c66f3c72c2958119d1e41b4db (diff) | |
download | profani-tty-4b460100ad73c24233ffad79d52b8ee6d1c172bb.tar.gz |
Default contact subscription set to "none"
-rw-r--r-- | src/contact.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contact.c b/src/contact.c index 3b0d1944..9188b5f0 100644 --- a/src/contact.c +++ b/src/contact.c @@ -62,7 +62,7 @@ p_contact_new(const char * const jid, const char * const name, if (subscription != NULL) contact->subscription = strdup(subscription); else - contact->subscription = NULL; + contact->subscription = strdup("none");; return contact; } |