about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rwxr-xr-xserver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server.c b/server.c
index 9724359..5aaf855 100755
--- a/server.c
+++ b/server.c
@@ -109,8 +109,9 @@ static void clientCast(const struct Client *origin, const struct ServerMessage *
         if (client->tileY != origin->tileY) continue;
 
         if (!clientSend(client, msg)) {
+            struct Client *dead = client;
             client = client->next;
-            clientRemove(client);
+            clientRemove(dead);
             if (!client) break;
         }
     }
commit/bin/hi.c?id=70b7d640b2ac1ccfa5ce7689743206aedbfffb43&follow=1'>Clean up htmlHeaderJune McEnroe 2019-02-18Remove hi line numberingJune McEnroe 2019-02-18Add Tag class to hiJune McEnroe 2019-02-17Generate HTML with hi -n -f html -o anchorJune McEnroe 2019-02-17Add hi -f html -o anchor for line number linksJune McEnroe 2019-02-17Simplify temp trap in upJune McEnroe 2019-02-17Add line numbers to hiJune McEnroe 2019-02-17Always split spans after newlinesJune McEnroe 2019-02-15Color format specifiers light cyan in vimJune McEnroe 2019-02-15Highlight Interp as yellowJune McEnroe 2019-02-15Highlight strings in sh command substitutionsJune McEnroe 2019-02-15Add nmap gpJune McEnroe 2019-02-14Avoid newline when copying URL to pasteboardJune McEnroe 2019-02-13Add forgotten "sixth" book of H2G2June McEnroe