Wed, 16 Aug 2006 18:55:17 +0000
[gaim-migrate @ 16796]
Fix bug #1541223
| src/protocols/simple/simple.c | file | annotate | diff | comparison | revisions |
--- 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);