about summary refs log tree commit diff stats
path: root/src/ui/windows.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-03-24 17:33:46 +0000
committerJames Booth <boothj5@gmail.com>2013-03-24 17:33:46 +0000
commit53eec32f2f168bab356d49ffb62cde4e893803d0 (patch)
tree56f58c36090f13505362aef1cc6f88ec9a1aeb36 /src/ui/windows.c
parentd703301f7f26e6bee39a542167a92be9fd543ae8 (diff)
downloadprofani-tty-53eec32f2f168bab356d49ffb62cde4e893803d0.tar.gz
Add newline before disco output
Diffstat (limited to 'src/ui/windows.c')
-rw-r--r--src/ui/windows.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/windows.c b/src/ui/windows.c
index 23384fef..06645f5d 100644
--- a/src/ui/windows.c
+++ b/src/ui/windows.c
@@ -1328,6 +1328,7 @@ cons_show_disco_info(const char *jid, GSList *identities, GSList *features)
 {
     if (((identities != NULL) && (g_slist_length(identities) > 0)) ||
         ((features != NULL) && (g_slist_length(features) > 0))) {
+        cons_show("");
         cons_show("Service disovery info for %s", jid);
 
         if (identities != NULL) {
@@ -1366,6 +1367,7 @@ void
 cons_show_disco_items(GSList *items, const char * const jid)
 {
     if ((items != NULL) && (g_slist_length(items) > 0)) {
+        cons_show("");
         cons_show("Service discovery items for %s:", jid);
         while (items != NULL) {
             DiscoItem *item = items->data;
@@ -1378,6 +1380,7 @@ cons_show_disco_items(GSList *items, const char * const jid)
             items = g_slist_next(items);
         }
     } else {
+        cons_show("");
         cons_show("No service discovery items for %s", jid);
     }
 }