Browse Source

s/ufrag_pwd_chars/ice_chars/

git.mgm/mediaproxy-ng/2.2
Richard Fuchs 13 years ago
parent
commit
dc7c4e7fba
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      daemon/sdp.c

+ 2
- 2
daemon/sdp.c View File

@ -68,7 +68,7 @@ struct sdp_attribute {
static const char ufrag_pwd_chars[] = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
static const char ice_chars[] = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
@ -666,7 +666,7 @@ static void create_random_string(struct call *call, str *s, int len) {
p = buf;
while (len--)
*p++ = ufrag_pwd_chars[random() % strlen(ufrag_pwd_chars)];
*p++ = ice_chars[random() % strlen(ice_chars)];
call_str_cpy_len(call, s, buf, p - buf);
}


Loading…
Cancel
Save