1
0
mirror of https://github.com/coturn/coturn.git synced 2025-10-27 21:10:59 +01:00

an error code fixed

This commit is contained in:
mom040267 2014-06-16 06:40:25 +00:00
parent aab8215a4d
commit 495d7940b6

View File

@ -2988,8 +2988,8 @@ static int check_stun_auth(turn_turnserver *server,
get_realm_options_by_name((char *)realm, &(ss->realm_options)); get_realm_options_by_name((char *)realm, &(ss->realm_options));
} else if(strcmp((char*)realm, (char*)(ss->realm_options.name))) { } else if(strcmp((char*)realm, (char*)(ss->realm_options.name))) {
*err_code = 400; *err_code = 441;
*reason = (const u08bits*)"Bad request: the realm value incorrect"; *reason = (const u08bits*)"Wrong credentials: the realm value incorrect";
return -1; return -1;
} }
} }