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/purple-socket.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/purple-socket.c')
-rw-r--r-- | skypeweb/purple2compat/purple-socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/skypeweb/purple2compat/purple-socket.c b/skypeweb/purple2compat/purple-socket.c index fe64f89..6134d8b 100644 --- a/skypeweb/purple2compat/purple-socket.c +++ b/skypeweb/purple2compat/purple-socket.c @@ -77,10 +77,10 @@ handle_remove(PurpleSocket *ps) PurpleConnection *gc = ps->gc; GSList *l; - l = g_hash_table_lookup(handles, gc);
+ l = g_hash_table_lookup(handles, gc); if (l != NULL) { l = g_slist_remove(l, ps); - g_hash_table_insert(handles, gc, l);
+ g_hash_table_insert(handles, gc, l); } } |