/pidgin/main: e41c41659c26: HTTP: fix some code style errors
Tomasz Wasilczyk
twasilczyk at pidgin.im
Mon Feb 3 11:09:11 EST 2014
Changeset: e41c41659c268fa3250a545ddba977b472ff0d49
Author: Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date: 2014-02-03 17:09 +0100
Branch: default
URL: https://hg.pidgin.im/pidgin/main/rev/e41c41659c26
Description:
HTTP: fix some code style errors
diffstat:
libpurple/http.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (34 lines):
diff --git a/libpurple/http.c b/libpurple/http.c
--- a/libpurple/http.c
+++ b/libpurple/http.c
@@ -322,7 +322,7 @@ static time_t purple_http_rfc1123_to_tim
}
month++;
- iso_date = g_strdup_printf("%s-%02d-%sT%s+00:00",
+ iso_date = g_strdup_printf("%s-%02d-%sT%s+00:00",
d_year, month, d_date, d_time);
g_free(d_date);
@@ -908,7 +908,7 @@ static gboolean _purple_http_recv_header
*delim++ = '\0';
while (*delim == ' ')
delim++;
-
+
purple_http_headers_add(hc->response->headers, hdrline, delim);
}
@@ -2815,10 +2815,10 @@ const gchar * purple_http_response_get_d
if (response->contents != NULL) {
ret = response->contents->str;
- if(len)
+ if (len)
*len = response->contents->len;
} else {
- if(len)
+ if (len)
*len = 0;
}
More information about the Commits
mailing list