diff options
author | Jan Palus <jpalus@fastmail.com> | 2021-02-01 12:05:11 +0300 |
---|---|---|
committer | Jan Palus <jpalus@fastmail.com> | 2021-02-01 12:05:11 +0300 |
commit | 8aed865de90b0ad574f34bb6a10add778eb0e45c (patch) | |
tree | 232c108a90cfe0d46ac13c0f31bfaeab27e608fc /skypeweb/purple2compat/http.c | |
parent | f23849142a7120802ebccea71a214da6945abc98 (diff) |
Unify line endings to LF
different files used different convention -- some used LF, some used
CRLF and some used mix of LF and CRLF:
$ git ls-files | ag -v '(png|dll)$' | xargs file -b | sort | uniq -c
4 ASCII text
3 ASCII text, with CRLF line terminators
1 ASCII text, with very long lines
15 C source, ASCII text
2 C source, ASCII text, with CRLF, LF line terminators
6 C source, ASCII text, with CRLF line terminators
1 C source, ASCII text, with very long lines, with CRLF, LF line terminators
1 C source, ASCII text, with very long lines, with CRLF line terminators
1 makefile script, ASCII text
1 makefile script, ASCII text, with very long lines
1 makefile script, ASCII text, with very long lines, with CRLF line terminators
1 UTF-8 Unicode text
Diffstat (limited to 'skypeweb/purple2compat/http.c')
-rw-r--r-- | skypeweb/purple2compat/http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/skypeweb/purple2compat/http.c b/skypeweb/purple2compat/http.c index f3692ed..4da18c6 100644 --- a/skypeweb/purple2compat/http.c +++ b/skypeweb/purple2compat/http.c @@ -430,7 +430,7 @@ purple_http_gz_put(PurpleHttpGzStream *gzs, const gchar *buf, gsize len) purple_debug_error("http", "Decompression failed (%d): %s\n", gzres, zs->msg); - gzs->failed = TRUE;
+ gzs->failed = TRUE; g_string_free(ret, TRUE); return NULL; } @@ -3222,7 +3222,7 @@ void purple_http_uninit(void) purple_http_re_url_host = NULL; g_regex_unref(purple_http_re_rfc1123); purple_http_re_rfc1123 = NULL; -
+ if (purple_http_hc_list != NULL) g_list_foreach(purple_http_hc_list, purple_http_foreach_conn_cancel, NULL); |