diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-28 18:58:49 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-28 18:58:49 +0000 |
commit | 5cd8da882ab470bc9586ce68552a860fdbedfbbe (patch) | |
tree | 65865a4bc369efaf1863f043ad57dda3ab7465d4 /src/util/server.c | |
parent | 70e4fde281b319ea93a454f8a8fa8a65d08c8969 (diff) | |
download | gnunet-5cd8da882ab470bc9586ce68552a860fdbedfbbe.tar.gz gnunet-5cd8da882ab470bc9586ce68552a860fdbedfbbe.zip |
-indentation, comments
Diffstat (limited to 'src/util/server.c')
-rw-r--r-- | src/util/server.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/util/server.c b/src/util/server.c index 9233f3240..000e09e0f 100644 --- a/src/util/server.c +++ b/src/util/server.c | |||
@@ -1136,7 +1136,8 @@ process_incoming (void *cls, | |||
1136 | GNUNET_CONNECTION_receive (client->connection, | 1136 | GNUNET_CONNECTION_receive (client->connection, |
1137 | GNUNET_SERVER_MAX_MESSAGE_SIZE - 1, | 1137 | GNUNET_SERVER_MAX_MESSAGE_SIZE - 1, |
1138 | GNUNET_TIME_absolute_get_remaining (end), | 1138 | GNUNET_TIME_absolute_get_remaining (end), |
1139 | &process_incoming, client); | 1139 | &process_incoming, |
1140 | client); | ||
1140 | return; | 1141 | return; |
1141 | } | 1142 | } |
1142 | if ( (NULL == buf) || | 1143 | if ( (NULL == buf) || |
@@ -1656,8 +1657,8 @@ struct GNUNET_SERVER_TransmitHandle * | |||
1656 | GNUNET_SERVER_notify_transmit_ready (struct GNUNET_SERVER_Client *client, | 1657 | GNUNET_SERVER_notify_transmit_ready (struct GNUNET_SERVER_Client *client, |
1657 | size_t size, | 1658 | size_t size, |
1658 | struct GNUNET_TIME_Relative timeout, | 1659 | struct GNUNET_TIME_Relative timeout, |
1659 | GNUNET_CONNECTION_TransmitReadyNotify | 1660 | GNUNET_CONNECTION_TransmitReadyNotify callback, |
1660 | callback, void *callback_cls) | 1661 | void *callback_cls) |
1661 | { | 1662 | { |
1662 | if (NULL != client->th.callback) | 1663 | if (NULL != client->th.callback) |
1663 | return NULL; | 1664 | return NULL; |
@@ -1753,7 +1754,8 @@ GNUNET_SERVER_receive_done (struct GNUNET_SERVER_Client *client, | |||
1753 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1754 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
1754 | "GNUNET_SERVER_receive_done causes restart in reading from the socket\n"); | 1755 | "GNUNET_SERVER_receive_done causes restart in reading from the socket\n"); |
1755 | GNUNET_assert (NULL == client->restart_task); | 1756 | GNUNET_assert (NULL == client->restart_task); |
1756 | client->restart_task = GNUNET_SCHEDULER_add_now (&restart_processing, client); | 1757 | client->restart_task = GNUNET_SCHEDULER_add_now (&restart_processing, |
1758 | client); | ||
1757 | } | 1759 | } |
1758 | 1760 | ||
1759 | 1761 | ||