mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 07:02:00 +01:00
imap fix
This commit is contained in:
parent
fdb3491ecb
commit
08d38786cb
@ -80,7 +80,7 @@ int read_response(int sd, char *buf, int buflen, int *seq, struct __data *data,
|
||||
int i=0, n, len=0, rc=0;
|
||||
char puf[MAXBUFSIZE], tagok[SMALLBUFSIZE], tagno[SMALLBUFSIZE];
|
||||
|
||||
snprintf(tagok, sizeof(tagok)-1, "\r\nA%d OK", *seq);
|
||||
snprintf(tagok, sizeof(tagok)-1, "A%d OK", *seq);
|
||||
snprintf(tagno, sizeof(tagno)-1, "A%d NO", *seq);
|
||||
|
||||
memset(buf, 0, buflen);
|
||||
|
Loading…
Reference in New Issue
Block a user