diff --git a/src/config.h b/src/config.h index e3b4b3e1..922503a3 100644 --- a/src/config.h +++ b/src/config.h @@ -13,7 +13,7 @@ #define VERSION "1.2.0-master" -#define BUILD 948 +#define BUILD 949 #define HOSTID "mailarchiver" diff --git a/src/piler.c b/src/piler.c index 4d817826..e59d84f1 100644 --- a/src/piler.c +++ b/src/piler.c @@ -371,7 +371,7 @@ int main(int argc, char **argv){ return 0; case 'V' : - printf("%s %s, build %d, Janos SUTO \n\n%s\n", PROGNAME, VERSION, get_build(), CONFIGURE_PARAMS); + printf("%s %s, build %d, Janos SUTO \n\n%s\nMySQL client library version: %s\n", PROGNAME, VERSION, get_build(), CONFIGURE_PARAMS, mysql_get_client_info()); get_extractor_list(); return 0; diff --git a/src/smtp.c b/src/smtp.c index 4aa8dbcc..099bae74 100644 --- a/src/smtp.c +++ b/src/smtp.c @@ -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;