]> granicus.if.org Git - neomutt/commitdiff
Array compared against 0
authorRichard Russon <rich@flatcap.org>
Fri, 15 Dec 2017 14:35:36 +0000 (14:35 +0000)
committerRichard Russon <rich@flatcap.org>
Thu, 28 Dec 2017 13:40:13 +0000 (13:40 +0000)
browser.c
conn/socket.c

index 8ff53fd7bbd264c7368563656d8f9f50fcbfec47..828feab6fccac6fdf9df6e5965fb601f8b705340 100644 (file)
--- a/browser.c
+++ b/browser.c
@@ -890,7 +890,7 @@ static int examine_mailboxes(struct Menu *menu, struct BrowserState *state)
         tmp->msg_unread = Context->unread;
       }
 
-      mutt_str_strfcpy(buffer, NONULL(tmp->path), sizeof(buffer));
+      mutt_str_strfcpy(buffer, tmp->path, sizeof(buffer));
       mutt_pretty_mailbox(buffer, sizeof(buffer));
 
 #ifdef USE_IMAP
index c8f358ff4662e4b5b9e8edffc2e5a8095e540db5..112616f4138f9122bb46006a3c38a97f52a78ce7 100644 (file)
@@ -169,7 +169,7 @@ int mutt_socket_open(struct Connection *conn)
 
   rc = conn->conn_open(conn);
 
-  mutt_debug(2, "Connected to %s:%d on fd=%d\n", NONULL(conn->account.host),
+  mutt_debug(2, "Connected to %s:%d on fd=%d\n", conn->account.host,
              conn->account.port, conn->fd);
 
   return rc;