diff options
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -130,7 +130,7 @@ void handle_connection(int _socket, struct sockaddr_in _addr, int argc, char* ar if (needle){ //Replace CR with space needle[0] = '\n'; if ((needle - buff + 1) < buffsize) - needle[1]='\0':; + needle[1]='\0'; } if(try_write(in[1], buff, cnt, 100)) { |