summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui.c b/gui.c
index 66ce806..39e2b9a 100644
--- a/gui.c
+++ b/gui.c
@@ -68,6 +68,7 @@ void gui_run(void) {
xmpp_fd = xmpp_connect();
} else {
close(xmpp_fd);
+ xmpp_fd = -1;
printf("Closed XMPP connection.\n");
}
break;