mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
+
This commit is contained in:
parent
e40ab9e3b8
commit
a1547d399b
2 changed files with 1 additions and 1 deletions
|
@ -158,6 +158,7 @@ void test_server(const char* port, size_t recv_buf_size) {
|
|||
close(i); // bye!
|
||||
FD_CLR(i, &master); // remove from master set
|
||||
} else {
|
||||
// we got some data from a client
|
||||
if (verbose >= 2)
|
||||
printf("> %ld bytes\n", nbytes);
|
||||
if (verbose >= 3)
|
||||
|
|
|
@ -77,7 +77,6 @@ void test_init (int i) {
|
|||
}
|
||||
|
||||
int test_input (int i, char *recvbuf, size_t nbytes) {
|
||||
// we got some data from a client
|
||||
int j;
|
||||
char *parsebuf = recvbuf - contbytes;
|
||||
char sendbuf[SEND_BUF_SIZE];
|
||||
|
|
Loading…
Reference in a new issue