changeset 14151:8856312371cb

[gaim-migrate @ 16796] Fix bug #1541223 committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 16 Aug 2006 18:55:17 +0000
parents 180141b8e97c
children ed099dde55d1
files src/protocols/simple/simple.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/simple/simple.c	Wed Aug 16 17:31:29 2006 +0000
+++ b/src/protocols/simple/simple.c	Wed Aug 16 18:55:17 2006 +0000
@@ -604,7 +604,7 @@
 		const gchar *body, struct sip_dialog *dialog, TransCallback tc) {
 	struct simple_account_data *sip = gc->proto_data;
 	char *callid = dialog ? g_strdup(dialog->callid) : gencallid();
-	char *auth = "";
+	char *auth = NULL;
 	const char *addh = "";
 	gchar *branch = genbranch();
 	gchar *tag = NULL;
@@ -662,7 +662,7 @@
 			++sip->cseq,
 			method,
 			callid,
-			auth,
+			auth ? auth : "",
 			addh,
 			strlen(body),
 			body);