diff options
| author | xengineering <me@xengineering.eu> | 2023-01-09 18:20:49 +0100 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2023-01-09 18:20:49 +0100 |
| commit | 29e48e3e550fd8eec79be50c592850dec396f1ba (patch) | |
| tree | 00f5aa5d8affcf7417e8c1b081fe613334b335c8 | |
| parent | d78a5ac02ea35399101fb53d12a25f96be4c112d (diff) | |
| download | limox-29e48e3e550fd8eec79be50c592850dec396f1ba.tar limox-29e48e3e550fd8eec79be50c592850dec396f1ba.tar.zst limox-29e48e3e550fd8eec79be50c592850dec396f1ba.zip | |
Fix reconnection
This was not possible because gui.c did not reset the socket
filedescriptor to the default value.
| -rw-r--r-- | gui.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |
