Trying to track down a segfault in find_content()
authorDavid Barksdale <amatus.amongus@gmail.com>
Mon, 5 Sep 2016 01:50:41 +0000 (01:50 +0000)
committerDavid Barksdale <amatus.amongus@gmail.com>
Mon, 5 Sep 2016 01:50:41 +0000 (01:50 +0000)
src/fs/gnunet-service-fs_push.c

index 1573bc160364867e493dbeba6f7000a2dcef81e5..fe5d0e1e9d10a441c950c56ce5be75ced4b40645 100644 (file)
@@ -224,6 +224,7 @@ transmit_content (struct MigrationReadyPeer *mrp,
   int ret;
 
   ppd = GSF_get_peer_performance_data_ (mrp->peer);
+  GNUNET_assert (NULL == mrp->env);
   mrp->env = GNUNET_MQ_msg_extra (msg,
                                  block->size,
                                  GNUNET_MESSAGE_TYPE_FS_PUT);