Fixed a bug in notify-list.
authorviric@llimona
Sun, 25 Mar 2007 23:32:03 +0200
changeset 45 3578632feaac
parent 44 4dcf05746ece
child 46 620319858e9a
Fixed a bug in notify-list.
server.c
--- a/server.c	Sun Mar 25 23:27:42 2007 +0200
+++ b/server.c	Sun Mar 25 23:32:03 2007 +0200
@@ -187,6 +187,8 @@
     {
         close(s);
         remove_connection(index);
+        /* It will not fail, even if the index is not a notification */
+        s_remove_notification(index);
         return NOBREAK;
     }