diff options
| -rw-r--r-- | imap/pop3dserver.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/imap/pop3dserver.c b/imap/pop3dserver.c index 079da9e..aa5ae24 100644 --- a/imap/pop3dserver.c +++ b/imap/pop3dserver.c @@ -186,6 +186,7 @@ static struct msglist **readpop3dlist(unsigned long *uid) size_t i; int vernum=0; + unsigned long size; uidv=time(NULL); @@ -255,10 +256,11 @@ static struct msglist **readpop3dlist(unsigned long *uid) // We have extra room at the end. strcat(p, ":0"); - if (sscanf(p, "%lu %lu:%lu:%d", &m->size, + if (sscanf(p, "%lu %lu:%lu:%d", &size, &m->uid.n, &m->uid.uidv, &m->isutf8) == 4) { + m->size=size; m->next=list; list=m; ++mcnt; |
