mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 07:32:00 +01:00
smtp transaction fix
Change-Id: I5ce784a0a4d88f5170de8a9325e857fca4745a83 Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
parent
a6e3c68e3a
commit
3174bcb016
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
#define VERSION "1.2.0-master"
|
#define VERSION "1.2.0-master"
|
||||||
|
|
||||||
#define BUILD 948
|
#define BUILD 949
|
||||||
|
|
||||||
#define HOSTID "mailarchiver"
|
#define HOSTID "mailarchiver"
|
||||||
|
|
||||||
|
@ -371,7 +371,7 @@ int main(int argc, char **argv){
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
case 'V' :
|
case 'V' :
|
||||||
printf("%s %s, build %d, Janos SUTO <sj@acts.hu>\n\n%s\n", PROGNAME, VERSION, get_build(), CONFIGURE_PARAMS);
|
printf("%s %s, build %d, Janos SUTO <sj@acts.hu>\n\n%s\nMySQL client library version: %s\n", PROGNAME, VERSION, get_build(), CONFIGURE_PARAMS, mysql_get_client_info());
|
||||||
get_extractor_list();
|
get_extractor_list();
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@ void process_command_rcpt_to(struct session_ctx *sctx, int *protocol_state, char
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(sctx->sdata->num_of_rcpt_to < MAX_RCPT_TO-1){
|
if(sctx->sdata->num_of_rcpt_to < MAX_RCPT_TO-1){
|
||||||
extractEmail(buf, sctx->sdata->rcptto[sdata->num_of_rcpt_to]);
|
extractEmail(buf, sctx->sdata->rcptto[sctx->sdata->num_of_rcpt_to]);
|
||||||
}
|
}
|
||||||
|
|
||||||
*protocol_state = SMTP_STATE_RCPT_TO;
|
*protocol_state = SMTP_STATE_RCPT_TO;
|
||||||
|
Loading…
Reference in New Issue
Block a user