Skip to content

Commit

Permalink
MT#55283 use correct error message in logs
Browse files Browse the repository at this point in the history
Cosmetic change only.

Change-Id: Ia3b3e8b0435c5637c6ac4ff23cd5f43ddf276220
  • Loading branch information
rfuchs committed Dec 3, 2024
1 parent 19aceec commit f0b309a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions daemon/redis.c
Original file line number Diff line number Diff line change
Expand Up @@ -2113,6 +2113,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_str(&id);
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;
}
Expand Down

0 comments on commit f0b309a

Please sign in to comment.