[balsa] main: Typo



commit 5a5b40d7e39ac369e5e0371db4c09934daedfed7
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Mon Feb 3 14:56:57 2020 -0500

    main: Typo

 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/main.c b/src/main.c
index c9dac278e..9b6ae3304 100644
--- a/src/main.c
+++ b/src/main.c
@@ -200,7 +200,7 @@ balsa_get_stats(long *unread, long *unsent)
         *unread = libbalsa_mailbox_get_unread_messages(balsa_app.inbox);
         libbalsa_mailbox_close(balsa_app.inbox, FALSE);
     } else *unread = -1;
-    if(balsa_app.draftbox && libbalsa_mailbox_open(balsa_app.outbox, NULL)){
+    if (balsa_app.outbox && libbalsa_mailbox_open(balsa_app.outbox, NULL)){
         *unsent = libbalsa_mailbox_total_messages(balsa_app.outbox);
         libbalsa_mailbox_close(balsa_app.outbox, FALSE);
     } else *unsent = -1;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]