From 4b460100ad73c24233ffad79d52b8ee6d1c172bb Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 27 Nov 2012 21:59:48 +0000 Subject: [PATCH] Default contact subscription set to "none" --- src/contact.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }