smtp transaction fix

Change-Id: I5ce784a0a4d88f5170de8a9325e857fca4745a83
Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
SJ 2016-08-31 17:09:33 +02:00
parent a6e3c68e3a
commit 3174bcb016
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
#define VERSION "1.2.0-master"
#define BUILD 948
#define BUILD 949
#define HOSTID "mailarchiver"

View File

@ -371,7 +371,7 @@ int main(int argc, char **argv){
return 0;
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();
return 0;

View File

@ -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){
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;