about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-01-23 18:22:36 +0100
committerMichael Vetter <jubalh@iodoru.org>2020-01-23 18:22:36 +0100
commit31509022efda4427cd77a1240d21a2d442363f11 (patch)
treec47ae4c761e6c2e0d39abed4bec00fafcd3e23d9 /src
parentabc37c5255efcd346dbddc05c583589475dd60e5 (diff)
downloadprofani-tty-31509022efda4427cd77a1240d21a2d442363f11.tar.gz
NULL room_name in win_create_muc()
Diffstat (limited to 'src')
-rw-r--r--src/ui/window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 9f360cbb..70d4ce11 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -188,6 +188,7 @@ win_create_muc(const char *const roomjid)
     new_win->window.layout = (ProfLayout*)layout;
 
     new_win->roomjid = strdup(roomjid);
+    new_win->room_name = NULL;
     new_win->unread = 0;
     new_win->unread_mentions = FALSE;
     new_win->unread_triggers = FALSE;