diff options
Diffstat (limited to 'patch/attachx.c')
| -rw-r--r-- | patch/attachx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/patch/attachx.c b/patch/attachx.c index 1557510..e52e386 100644 --- a/patch/attachx.c +++ b/patch/attachx.c @@ -34,8 +34,9 @@ attachx(Client *c) for (at = c->mon->clients; at && at->next; at = at->next); if (at) { at->next = c; + c->next = NULL; return; } #endif attach(c); // master (default) -}
\ No newline at end of file +} |
