/pidgin/main: c6bcb48cf10c: Style: fix http
Tomasz Wasilczyk
twasilczyk at pidgin.im
Mon Feb 3 14:38:31 EST 2014
Changeset: c6bcb48cf10ce6f7ede325204762ec79839eeee3
Author: Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date: 2014-02-03 20:38 +0100
Branch: default
URL: https://hg.pidgin.im/pidgin/main/rev/c6bcb48cf10c
Description:
Style: fix http
diffstat:
libpurple/http.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (30 lines):
diff --git a/libpurple/http.c b/libpurple/http.c
--- a/libpurple/http.c
+++ b/libpurple/http.c
@@ -666,7 +666,7 @@ static gchar * purple_http_headers_dump(
const GList *hdr;
GString *s = g_string_new("");
-
+
hdr = purple_http_headers_get_all(hdrs);
while (hdr) {
PurpleKeyValuePair *kvp = hdr->data;
@@ -675,7 +675,7 @@ static gchar * purple_http_headers_dump(
g_string_append_printf(s, "%s: %s%s", kvp->key,
(gchar*)kvp->value, hdr ? "\n" : "");
}
-
+
return g_string_free(s, FALSE);
}
@@ -1011,7 +1011,7 @@ static gboolean _purple_http_recv_body_c
if (hc->chunk_got + got_now > hc->chunk_length)
got_now = hc->chunk_length - hc->chunk_got;
hc->chunk_got += got_now;
-
+
if (!_purple_http_recv_body_data(hc,
hc->response_buffer->str, got_now))
return FALSE;
More information about the Commits
mailing list