diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-06 09:00:14 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-06 09:00:14 +0000 |
commit | 170d5baeece2def099112c6a25287a95d2b28899 (patch) | |
tree | 5950b36e6c5fa5fe6b90c8c3efc68dcce50d931d /src/ats/gnunet-service-ats_scheduling.c | |
parent | d9c8e8f14e77670c657ae42030ff3581ad060968 (diff) | |
download | gnunet-170d5baeece2def099112c6a25287a95d2b28899.tar.gz gnunet-170d5baeece2def099112c6a25287a95d2b28899.zip |
-use only one nc per client
Diffstat (limited to 'src/ats/gnunet-service-ats_scheduling.c')
-rw-r--r-- | src/ats/gnunet-service-ats_scheduling.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ats/gnunet-service-ats_scheduling.c b/src/ats/gnunet-service-ats_scheduling.c index 59ac1be93..6c3bdfbf8 100644 --- a/src/ats/gnunet-service-ats_scheduling.c +++ b/src/ats/gnunet-service-ats_scheduling.c | |||
@@ -57,7 +57,10 @@ GAS_scheduling_add_client (struct GNUNET_SERVER_Client *client) | |||
57 | return GNUNET_SYSERR; | 57 | return GNUNET_SYSERR; |
58 | } | 58 | } |
59 | my_client = client; | 59 | my_client = client; |
60 | GNUNET_SERVER_notification_context_add (nc, client); | 60 | GNUNET_SERVER_notification_context_add (nc, |
61 | client); | ||
62 | GNUNET_SERVER_client_set_user_context (client, | ||
63 | &nc); | ||
61 | return GNUNET_OK; | 64 | return GNUNET_OK; |
62 | } | 65 | } |
63 | 66 | ||