diff options
author | Eion Robb <eion@robbmob.com> | 2021-02-02 00:51:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-02 00:51:19 +0300 |
commit | 42df93659e50fac89f2bc39433051d94b65a1340 (patch) | |
tree | 232c108a90cfe0d46ac13c0f31bfaeab27e608fc /skypeweb/purple2compat/purple-socket.c | |
parent | f23849142a7120802ebccea71a214da6945abc98 (diff) | |
parent | 8aed865de90b0ad574f34bb6a10add778eb0e45c (diff) |
Merge pull request #674 from jpalus/master
Unify line endings to LF
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); } } |