diff options
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, |