[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r24775 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r24775 - gnunet/src/mesh |
Date: |
Mon, 5 Nov 2012 19:57:11 +0100 |
Author: bartpolot
Date: 2012-11-05 19:57:11 +0100 (Mon, 05 Nov 2012)
New Revision: 24775
Modified:
gnunet/src/mesh/gnunet-service-mesh-new.c
Log:
- initialize all fcinfo fields
Modified: gnunet/src/mesh/gnunet-service-mesh-new.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh-new.c 2012-11-05 18:53:44 UTC (rev
24774)
+++ gnunet/src/mesh/gnunet-service-mesh-new.c 2012-11-05 18:57:11 UTC (rev
24775)
@@ -3408,11 +3408,16 @@
GNUNET_array_append (t->clients, t->nclients, c);
fcinfo.t = t;
fcinfo.client = c;
+ fcinfo.peer = NULL;
fcinfo.fwd_ack = t->fwd_pid + 1;
fcinfo.bck_ack = t->nobuffer ? 1 : INITIAL_WINDOW_SIZE - 1;
fcinfo.fwd_pid = t->fwd_pid;
fcinfo.bck_pid = (uint32_t) -1; // Expected next: 0
fcinfo.fc_poll = GNUNET_SCHEDULER_NO_TASK;
+ fcinfo.send_buffer = NULL;
+ fcinfo.send_buffer_n = 0;
+ fcinfo.send_buffer_start = 0;
+ fcinfo.skip = t->fwd_pid;
// FIXME fc buffering is done by context_notify. Confirm this is OK.
t->nclients--;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r24775 - gnunet/src/mesh,
gnunet <=