Skip to content
Permalink
Browse files

Merge pull request #442 from chanduthedev/ssh-length

Updated incorrect string length check for 'ssh'
  • Loading branch information
misi committed Oct 22, 2019
2 parents 846dd07 + 9b0e53c commit 8c8af9ec857810ce439b300965f031a766bc4299
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/apps/common/ns_turn_utils.c
@@ -556,7 +556,7 @@ int get_default_protocol_port(const char* scheme, size_t slen)
return 21;
if(!memcmp("svn",scheme,3))
return 3690;
if(!memcmp("ssh",scheme,4))
if(!memcmp("ssh",scheme,3))
return 22;
if(!memcmp("sip",scheme,3))
return 5060;

0 comments on commit 8c8af9e

Please sign in to comment.
You can’t perform that action at this time.