From a6b586be3027c12b38c2bbda956770bba0f61bc4 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 14 Jan 1997 08:04:51 +0000 Subject: Dynamic allocation for the query structure string entries. svn path=/trunk/; revision=757 --- pop2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pop2.c') 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); -- cgit v1.2.3