Mercurial > pidgin
diff src/protocols/msn/transaction.c @ 9158:c30d81b4dd22
[gaim-migrate @ 9942]
Patch from Felipe Contreras to sync our MSN prpl with what's in his tree.
He says this may fix a couple bugs, but the important thing is the
restructuring of how MsnMessages work. Lots of style changes and other
stuff as well.
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Tue, 01 Jun 2004 06:42:20 +0000 |
| parents | a7affa2e2986 |
| children | 502707ca1836 |
line wrap: on
line diff
--- a/src/protocols/msn/transaction.c Tue Jun 01 01:55:55 2004 +0000 +++ b/src/protocols/msn/transaction.c Tue Jun 01 06:42:20 2004 +0000 @@ -34,9 +34,12 @@ trans->command = g_strdup(command); - va_start(arg, format); - trans->params = g_strdup_vprintf(format, arg); - va_end(arg); + if (format != NULL) + { + va_start(arg, format); + trans->params = g_strdup_vprintf(format, arg); + va_end(arg); + } /* trans->queue = g_queue_new(); */
