diff options
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); } } |