Mercurial > pidgin
diff src/protocols/msn/slp.c @ 9231:ac8790437abe
[gaim-migrate @ 10027]
Patch from Felipe Contreras that fixes the sent bytes being reset to 0
after sending a file, and a small check to hopefully avoid a potential
crash.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Mon, 07 Jun 2004 07:49:36 +0000 |
parents | 7a00289f2ef1 |
children | f5f7482678d2 |
line wrap: on
line diff
--- a/src/protocols/msn/slp.c Mon Jun 07 05:29:36 2004 +0000 +++ b/src/protocols/msn/slp.c Mon Jun 07 07:49:36 2004 +0000 @@ -629,6 +629,8 @@ slpcall = msn_slplink_find_slp_call(slplink, call_id); g_free(call_id); + g_return_val_if_fail(slpcall != NULL, NULL); + if (strncmp(status, "200 OK", 6)) { /* It's not valid. Kill this off. */