MT#55283 use correct error message in logs

Cosmetic change only.

Change-Id: Ia3b3e8b0435c5637c6ac4ff23cd5f43ddf276220
(cherry picked from commit f0b309a6a3)
mr13.0
Richard Fuchs 2 years ago
parent e2af88650a
commit 553f5e4189

@ -2083,6 +2083,7 @@ static void json_restore_call(struct redis *r, const str *callid, bool foreign)
if (!redis_hash_get_str(&id, &call, "created_from"))
c->created_from = call_strdup_len(id.s, id.len);
if (!redis_hash_get_str(&id, &call, "created_from_addr")) {
err = "failed to parse 'created_from_addr'";
if (sockaddr_parse_any_str(&c->created_from_addr, &id))
goto err8;
}

Loading…
Cancel
Save