aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/gnunet-service-mesh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh/gnunet-service-mesh.c')
-rw-r--r--src/mesh/gnunet-service-mesh.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c
index 936b81ca7..38e1a9dd7 100644
--- a/src/mesh/gnunet-service-mesh.c
+++ b/src/mesh/gnunet-service-mesh.c
@@ -1036,10 +1036,10 @@ send_client_tunnel_create (struct MeshTunnel *t)
1036 msg.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_CREATE); 1036 msg.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_CREATE);
1037 msg.tunnel_id = htonl (t->local_tid_dest); 1037 msg.tunnel_id = htonl (t->local_tid_dest);
1038 msg.port = htonl (t->port); 1038 msg.port = htonl (t->port);
1039 msg.options = 0; 1039 msg.opt = 0;
1040 msg.options |= GNUNET_YES == t->reliable ? GNUNET_MESH_OPTION_RELIABLE : 0; 1040 msg.opt |= GNUNET_YES == t->reliable ? GNUNET_MESH_OPTION_RELIABLE : 0;
1041 msg.options |= GNUNET_YES == t->nobuffer ? GNUNET_MESH_OPTION_NOBUFFER : 0; 1041 msg.opt |= GNUNET_YES == t->nobuffer ? GNUNET_MESH_OPTION_NOBUFFER : 0;
1042 msg.options = htonl (msg.options); 1042 msg.opt = htonl (msg.opt);
1043 GNUNET_PEER_resolve (t->id.oid, &msg.peer); 1043 GNUNET_PEER_resolve (t->id.oid, &msg.peer);
1044 GNUNET_SERVER_notification_context_unicast (nc, t->client->handle, 1044 GNUNET_SERVER_notification_context_unicast (nc, t->client->handle,
1045 &msg.header, GNUNET_NO); 1045 &msg.header, GNUNET_NO);
@@ -4836,7 +4836,7 @@ handle_local_tunnel_create (void *cls, struct GNUNET_SERVER_Client *client,
4836 return; 4836 return;
4837 } 4837 }
4838 t->port = ntohl (t_msg->port); 4838 t->port = ntohl (t_msg->port);
4839 tunnel_set_options (t, ntohl (t_msg->options)); 4839 tunnel_set_options (t, ntohl (t_msg->opt));
4840 if (GNUNET_YES == t->reliable) 4840 if (GNUNET_YES == t->reliable)
4841 { 4841 {
4842 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "!!! Reliable\n"); 4842 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "!!! Reliable\n");