Mercurial > pidgin.yaz
comparison libpurple/protocols/msn/httpconn.c @ 27509:35b6fd563056
Change all MSN_DEBUG_* messages to use the new purple_debug_is_verbose call
for runtime switching.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Fri, 10 Jul 2009 00:51:31 +0000 |
parents | 5e6999b6b5e4 |
children | 8e31eec7b621 |
comparison
equal
deleted
inserted
replaced
27508:9c413bda20be | 27509:35b6fd563056 |
---|---|
159 | 159 |
160 body = g_malloc(body_len + 1); | 160 body = g_malloc(body_len + 1); |
161 memcpy(body, body_start, body_len); | 161 memcpy(body, body_start, body_len); |
162 body[body_len] = '\0'; | 162 body[body_len] = '\0'; |
163 | 163 |
164 #ifdef MSN_DEBUG_HTTP | 164 if (purple_debug_is_verbose()) |
165 purple_debug_misc("msn", "Incoming HTTP buffer (header): {%s}\n", | 165 purple_debug_misc("msn", "Incoming HTTP buffer (header): {%s}\n", |
166 header); | 166 header); |
167 #endif | |
168 | 167 |
169 /* Now we should be able to process the data. */ | 168 /* Now we should be able to process the data. */ |
170 if ((s = purple_strcasestr(header, "X-MSN-Messenger: ")) != NULL) | 169 if ((s = purple_strcasestr(header, "X-MSN-Messenger: ")) != NULL) |
171 { | 170 { |
172 gchar *full_session_id = NULL, *gw_ip = NULL, *session_action = NULL; | 171 gchar *full_session_id = NULL, *gw_ip = NULL, *session_action = NULL; |