diff options
author | cbdev <cb@cbcdn.com> | 2024-01-14 13:49:07 +0100 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2024-01-14 13:49:07 +0100 |
commit | 072cdf78d0f3362a3df7c6d7188bad29853b8d05 (patch) | |
tree | cadf4a22c3d265bdab061960ff4fdc687dd6ac80 | |
parent | a5dfbe9dcc41beee521546d2788a5ce57359151e (diff) | |
download | websocksy-072cdf78d0f3362a3df7c6d7188bad29853b8d05.tar.gz websocksy-072cdf78d0f3362a3df7c6d7188bad29853b8d05.tar.bz2 websocksy-072cdf78d0f3362a3df7c6d7188bad29853b8d05.zip |
Host address termination
-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)){ |