i am a dumb dummy
[oweals/gnunet.git] / src / monkey / gnunet-monkey.c
index be0a73687084e0086034836114a342b6f1890c99..f3dc238c8a606d02314fbf762510c5f98246dab6 100644 (file)
@@ -63,7 +63,7 @@ static void dumpText(const char* message)
 {
        FILE* file = fopen(dumpFileName, "w");
        GNUNET_assert(NULL != file);
-       fprintf(file, message);
+       fprintf(file,"%s", message);
        fclose(file);
 }
 
@@ -115,14 +115,12 @@ int wait_for_stop(mi_h *h)
  * Main function that will be run by the scheduler.
  *
  * @param cls closure
- * @param s the scheduler to use
  * @param args remaining command-line arguments
  * @param cfgfile name of the configuration file used (for saving, can be NULL!)
  * @param c configuration
  */
 static void
 run (void *cls,
-     struct GNUNET_SCHEDULER_Handle *s,
      char *const *args,
      const char *cfgfile,
      const struct GNUNET_CONFIGURATION_Handle *c)