fix crash when b32addr is not provided during bootup
Signed-off-by: AGentooCat <agentoocat@mail.i2p>
This commit is contained in:
@ -665,6 +665,7 @@ struct I2Host *lookup_host(char *b32addr, char *knownas, int force_lookup) {
|
||||
|
||||
if (!host->_under->success) goto samlookfail;
|
||||
host->b64dest = get_samval(host->_under, "VALUE");
|
||||
if (!b32addr && !(host->b32addr = b64to32(host->b64dest))) goto samlookfail;
|
||||
lookup_mail(host);
|
||||
|
||||
return host;
|
||||
|
Reference in New Issue
Block a user