diff options
-rw-r--r-- | websocksy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/websocksy.c b/websocksy.c index 208e9e6..b6310ce 100644 --- a/websocksy.c +++ b/websocksy.c @@ -103,7 +103,7 @@ static peer_transport client_detect_transport(char* host){ return peer_udp_client; } else if(!strncmp(host, "udp-listen://", 13)){ - memmove(host, host + 13, strlen(host) - 13); + memmove(host, host + 13, strlen(host) - 12); return peer_udp_listen; } else if(!strncmp(host, "fifotx://", 9)){ |