projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
124e79f
)
removed debug output
author
pk910
<philipp@zoelle1.de>
Wed, 10 Aug 2011 01:03:34 +0000
(
03:03
+0200)
committer
pk910
<philipp@zoelle1.de>
Wed, 10 Aug 2011 01:03:34 +0000
(
03:03
+0200)
ClientSocket.c
patch
|
blob
|
history
IRCParser.c
patch
|
blob
|
history
diff --git
a/ClientSocket.c
b/ClientSocket.c
index f90403a026ed2d9401ec059d4dcd26fa6fa271c7..20ec7246a92af4bf506fc6fa59db7bcf986f2946 100644
(file)
--- a/
ClientSocket.c
+++ b/
ClientSocket.c
@@
-147,13
+147,9
@@
void socket_loop(int timeout_seconds) {
sock->buffer[sock->bufferpos + i] = buffer[i];
}
sock->bufferpos += i;
- sock->buffer[sock->bufferpos] = 0; //debug only
- printf("ADD BUFFER: %s\n", sock->buffer);
}
} else {
bytes = read(sock->sock, sock->buffer, sizeof(sock->buffer));
- sock->buffer[bytes] = 0; //debug only
- printf("BUFFER: %s\n", sock->buffer);
if(bytes > 0)
sock->bufferpos = bytes;
}
diff --git
a/IRCParser.c
b/IRCParser.c
index 5822b010a6eedde90fce47bf8094298cf8aec160..2fcf934c62017f367abd3b401635fd759d1956d5 100644
(file)
--- a/
IRCParser.c
+++ b/
IRCParser.c
@@
-19,7
+19,6
@@
int parse_lines(struct ClientSocket *client, char *lines, int len) {
lines[i] = 0;
parse_line(client, line);
line = lines+(i+1);
- printf("SKIP %d: %s\n", i+1, line);
used = i+1;
}
}