- fix error messages
[oweals/gnunet.git] / src / transport / test_plugin_transport.c
index 98806fbb83362a184f7330cb4fa438dd3fbbc802..6c81acb490c5a5fdc4d532fa52d97686f0dc9da5 100644 (file)
@@ -695,8 +695,8 @@ run (void *cls, char *const *args, const char *cfgfile,
       end_badly_now ();
       return;
   }
-  GNUNET_assert (NULL != api->disconnect);
-  if (NULL == api->disconnect)
+  GNUNET_assert (NULL != api->disconnect_peer);
+  if (NULL == api->disconnect_peer)
   {
       GNUNET_break (0);
       end_badly_now ();