aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-09-17 16:41:45 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-09-17 16:41:45 +0200
commitcccd5ac6d99fd7fb56f5940ffb0e901e015dacb8 (patch)
tree1434e88ec7fe516fccb1aadd3f62d83b81c230e0 /src
parentf830da36d2c720d225f89a809a4b8ee1b5a9ca62 (diff)
downloadbbs-cccd5ac6d99fd7fb56f5940ffb0e901e015dacb8.tar.gz
asdf
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 81b7035..4a6c5e8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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)) {