Fix initialization of pool struct variable

This commit is contained in:
David Maciejak 2019-06-04 13:56:48 +08:00 committed by GitHub
parent 85d51ba494
commit 5ea9c47bb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -523,6 +523,7 @@ int32_t service_pop3_init(char *ip, int32_t sp, unsigned char options, char *mis
p.pop3_auth_mechanism = AUTH_CLEAR;
p.disable_tls = 1;
p.next = NULL;
memcpy(p.ip, ip, 36);
if ((options & OPTION_SSL) == 0) {