Browse Source

change created_from to an allocated string buffer

pull/60/head
Richard Fuchs 11 years ago
parent
commit
0e531ebdf2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/call_interfaces.c

+ 1
- 1
daemon/call_interfaces.c View File

@ -632,7 +632,7 @@ static const char *call_offer_answer_ng(bencode_item_t *input, struct callmaster
goto out;
if (addr) {
memcpy(call->created_from, addr, strlen(addr));
call->created_from = call_strdup(call, addr);
}
/* At least the random ICE strings are contained within the call struct, so we
* need to hold a ref until we're done sending the reply */


Loading…
Cancel
Save