pilergetd fixes

This commit is contained in:
SJ
2013-04-09 16:10:08 +02:00
parent 163ebb7c46
commit 07c8a15400
6 changed files with 57 additions and 6 deletions

View File

@ -14,7 +14,7 @@
#define VERSION "0.1.24-master-branch"
#define BUILD 791
#define BUILD 792
#define HOSTID "mailarchiver"

View File

@ -188,7 +188,7 @@ int handle_pilerget_request(int new_sd, struct __data *data, struct __config *cf
trimBuffer(puf);
q = &muf[0];
if(strcmp(&puf[5], cfg->pilergetd_password))
if(strcmp(&puf[5], cfg->pilergetd_password)){
snprintf(resp, sizeof(resp)-1, "550 AUTH FAILED\r\n");
}
else {