diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-07-06 15:24:26 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-07-06 15:24:26 +0000 |
commit | 3d7bae58c4b9b128e6000a2fe1fe65595235bb14 (patch) | |
tree | d50cfa569c5d447da5663333e61964c47ac09f73 /src/conversation/gnunet-service-conversation.c | |
parent | 6cef8fea0c3b6756870786ebc4db0588373c8f65 (diff) | |
download | gnunet-3d7bae58c4b9b128e6000a2fe1fe65595235bb14.tar.gz gnunet-3d7bae58c4b9b128e6000a2fe1fe65595235bb14.zip |
misc fixes
Diffstat (limited to 'src/conversation/gnunet-service-conversation.c')
-rw-r--r-- | src/conversation/gnunet-service-conversation.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conversation/gnunet-service-conversation.c b/src/conversation/gnunet-service-conversation.c index 425f0a3c2..3b2237229 100644 --- a/src/conversation/gnunet-service-conversation.c +++ b/src/conversation/gnunet-service-conversation.c | |||
@@ -285,7 +285,7 @@ handle_client_register_message (void *cls, | |||
285 | GNUNET_CONTAINER_DLL_insert (lines_head, | 285 | GNUNET_CONTAINER_DLL_insert (lines_head, |
286 | lines_tail, | 286 | lines_tail, |
287 | line); | 287 | line); |
288 | line->local_line = ntohl (msg->line) & (~ (1 << 31)); | 288 | line->local_line = ntohl (msg->line) & (~ HIGH_BIT); |
289 | GNUNET_SERVER_receive_done (client, GNUNET_OK); | 289 | GNUNET_SERVER_receive_done (client, GNUNET_OK); |
290 | } | 290 | } |
291 | 291 | ||
@@ -703,7 +703,7 @@ handle_client_call_message (void *cls, | |||
703 | } | 703 | } |
704 | line = GNUNET_new (struct Line); | 704 | line = GNUNET_new (struct Line); |
705 | line->client = client; | 705 | line->client = client; |
706 | line->local_line = (local_line_cnt++) | (1 << 31); | 706 | line->local_line = (local_line_cnt++) | HIGH_BIT; |
707 | GNUNET_SERVER_client_set_user_context (client, line); | 707 | GNUNET_SERVER_client_set_user_context (client, line); |
708 | GNUNET_SERVER_notification_context_add (nc, client); | 708 | GNUNET_SERVER_notification_context_add (nc, client); |
709 | GNUNET_CONTAINER_DLL_insert (lines_head, | 709 | GNUNET_CONTAINER_DLL_insert (lines_head, |