tFixing the argv handling again. - rohrpost - A commandline mail client to change the world as we see it.
(HTM) git clone git://r-36.net/rohrpost
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 51aa69e758dea1a50849684ca5b9d24a95283d66
(DIR) parent 0af5c6a84e1e16dde52249ecb3df169401ca3708
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Mon, 8 Sep 2014 20:48:26 +0200
Fixing the argv handling again.
Diffstat:
imap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/imap.c b/imap.c
t@@ -236,7 +236,7 @@ imap_argv2ids(char *cfgn, char *mailbox, int argc, char *argv[])
llist = llist_new();
forllist(allist, argelem) {
- if (argelem->data == NULL)
+ if (argelem->key == NULL)
continue;
nids = llist_splitstr(argelem->key, " ,");
if (nids != NULL && nids->len > 0)