-doxygen
[oweals/gnunet.git] / src / fs / gnunet-search.c
index e90b761d77c14262aa77821124ebd01a0fdc577f..df544c21b12b25e794a0e128610314bf154d1f0b 100644 (file)
@@ -259,7 +259,7 @@ run (void *cls, char *const *args, const char *cfgfile,
     ret = 1;
     return;
   }
-  if (0 != timeout.rel_value)
+  if (0 != timeout.rel_value_us)
     GNUNET_SCHEDULER_add_delayed (timeout, &shutdown_task, NULL);
   else
     GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &shutdown_task,