projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
trying to port statvfs call to BSD
[oweals/gnunet.git]
/
src
/
util
/
server.c
diff --git
a/src/util/server.c
b/src/util/server.c
index c31168e8c47015fe39834c7a8019d0675ce7009e..606d4436906572167ecda4f2af35b6625b18073a 100644
(file)
--- a/
src/util/server.c
+++ b/
src/util/server.c
@@
-701,7
+701,7
@@
process_mst (struct GNUNET_SERVER_Client *client,
"Server re-enters receive loop.\n");
#endif
GNUNET_CONNECTION_receive (client->connection,
"Server re-enters receive loop.\n");
#endif
GNUNET_CONNECTION_receive (client->connection,
- GNUNET_SERVER_MAX_MESSAGE_SIZE,
+ GNUNET_SERVER_MAX_MESSAGE_SIZE
- 1
,
client->server->idle_timeout,
&process_incoming, client);
break;
client->server->idle_timeout,
&process_incoming, client);
break;
@@
-811,7
+811,7
@@
restart_processing (void *cls,
#endif
client->receive_pending = GNUNET_YES;
GNUNET_CONNECTION_receive (client->connection,
#endif
client->receive_pending = GNUNET_YES;
GNUNET_CONNECTION_receive (client->connection,
- GNUNET_SERVER_MAX_MESSAGE_SIZE,
+ GNUNET_SERVER_MAX_MESSAGE_SIZE
- 1
,
client->server->idle_timeout, &process_incoming, client);
return;
}
client->server->idle_timeout, &process_incoming, client);
return;
}
@@
-877,7
+877,7
@@
GNUNET_SERVER_connect_socket (struct
client = GNUNET_malloc (sizeof (struct GNUNET_SERVER_Client));
client->connection = connection;
client = GNUNET_malloc (sizeof (struct GNUNET_SERVER_Client));
client->connection = connection;
- client->mst = GNUNET_SERVER_mst_create (GNUNET_SERVER_MAX_MESSAGE_SIZE,
+ client->mst = GNUNET_SERVER_mst_create (GNUNET_SERVER_MAX_MESSAGE_SIZE
- 1
,
&client_message_tokenizer_callback,
server);
client->reference_count = 1;
&client_message_tokenizer_callback,
server);
client->reference_count = 1;
@@
-887,7
+887,7
@@
GNUNET_SERVER_connect_socket (struct
server->clients = client;
client->receive_pending = GNUNET_YES;
GNUNET_CONNECTION_receive (client->connection,
server->clients = client;
client->receive_pending = GNUNET_YES;
GNUNET_CONNECTION_receive (client->connection,
- GNUNET_SERVER_MAX_MESSAGE_SIZE,
+ GNUNET_SERVER_MAX_MESSAGE_SIZE
- 1
,
server->idle_timeout, &process_incoming, client);
return client;
}
server->idle_timeout, &process_incoming, client);
return client;
}