aboutsummaryrefslogtreecommitdiffstats
path: root/pop2.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-01-14 08:04:51 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-01-14 08:04:51 +0000
commita6b586be3027c12b38c2bbda956770bba0f61bc4 (patch)
treef37a3f86b1de5ed1e030731f159605431372f0ad /pop2.c
parentbe9c9f0a5b6d598fb9eeb8e4d2d2cfef367dd759 (diff)
downloadfetchmail-a6b586be3027c12b38c2bbda956770bba0f61bc4.tar.gz
fetchmail-a6b586be3027c12b38c2bbda956770bba0f61bc4.tar.bz2
fetchmail-a6b586be3027c12b38c2bbda956770bba0f61bc4.zip
Dynamic allocation for the query structure string entries.
svn path=/trunk/; revision=757
Diffstat (limited to 'pop2.c')
-rw-r--r--pop2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pop2.c b/pop2.c
index 667732e8..b606a291 100644
--- a/pop2.c
+++ b/pop2.c
@@ -76,7 +76,7 @@ static int pop2_getrange(FILE *sockfp, struct query *ctl, int*countp, int*newp)
return(PS_ERROR);
/* maybe the user wanted a non-default folder */
- if (ctl->mailbox[0])
+ if (ctl->mailbox)
{
int ok = gen_transact(sockfp, "FOLD %s", ctl->mailbox);