aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-11-02 21:31:08 +0000
committerChristian Grothoff <christian@grothoff.org>2014-11-02 21:31:08 +0000
commit53b7b9ed132e856d5430246b56e1586d853013a7 (patch)
tree67222753516e7f1c05e2f5eb31ba330bf3a1e394 /src/util
parent4e79e115a5dd0bc399913464cc456ee6ef309c2f (diff)
downloadgnunet-53b7b9ed132e856d5430246b56e1586d853013a7.tar.gz
gnunet-53b7b9ed132e856d5430246b56e1586d853013a7.zip
-use const for the array
Diffstat (limited to 'src/util')
-rw-r--r--src/util/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/service.c b/src/util/service.c
index a97cd434f..c3bb1039e 100644
--- a/src/util/service.c
+++ b/src/util/service.c
@@ -1634,7 +1634,7 @@ GNUNET_SERVICE_get_server (struct GNUNET_SERVICE_Context *ctx)
1634 * @return NULL if there are no listen sockets, otherwise NULL-terminated 1634 * @return NULL if there are no listen sockets, otherwise NULL-terminated
1635 * array of listen sockets. 1635 * array of listen sockets.
1636 */ 1636 */
1637struct GNUNET_NETWORK_Handle ** 1637struct GNUNET_NETWORK_Handle *const*
1638GNUNET_SERVICE_get_listen_sockets (struct GNUNET_SERVICE_Context *ctx) 1638GNUNET_SERVICE_get_listen_sockets (struct GNUNET_SERVICE_Context *ctx)
1639{ 1639{
1640 return ctx->lsocks; 1640 return ctx->lsocks;