/soc/2013/ankitkv/gobjectification: 4fbc76d86745: Merged default...
Ankit Vani
a at nevitus.org
Thu Nov 7 18:57:11 EST 2013
Changeset: 4fbc76d8674589f0c1fdd00a002ebdace0255516
Author: Ankit Vani <a at nevitus.org>
Date: 2013-11-08 05:26 +0530
Branch: soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/4fbc76d86745
Description:
Merged default branch
diffstat:
libpurple/http.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (17 lines):
diff --git a/libpurple/http.c b/libpurple/http.c
--- a/libpurple/http.c
+++ b/libpurple/http.c
@@ -1117,9 +1117,10 @@ static gboolean _purple_http_recv_loopbo
purple_http_conn_retry(hc);
return FALSE;
} else {
- if (g_ascii_strcasecmp(purple_http_headers_get(
- hc->response->headers, "Server"),
- "YHttpServer") == 0)
+ const gchar *server = purple_http_headers_get(
+ hc->response->headers, "Server");
+ if (server &&
+ g_ascii_strcasecmp(server, "YHttpServer") == 0)
{
purple_debug_warning("http", "No more data "
"while parsing headers (YHttpServer "
More information about the Commits
mailing list