fetcher: add missing "continue" when handling FETCH_CALLBACK
authorMartin Willi <martin@revosec.ch>
Wed, 15 May 2013 14:27:15 +0000 (16:27 +0200)
committerMartin Willi <martin@revosec.ch>
Tue, 11 Jun 2013 13:54:25 +0000 (15:54 +0200)
src/libstrongswan/fetcher/fetcher_manager.c

index a638eef..47d4f9b 100644 (file)
@@ -111,6 +111,7 @@ METHOD(fetcher_manager_t, fetch, status_t,
                                case FETCH_CALLBACK:
                                        good = fetcher->set_option(fetcher, opt,
                                                                                        va_arg(args, fetcher_callback_t));
+                                       continue;
                                case FETCH_END:
                                        break;
                        }
@@ -204,4 +205,3 @@ fetcher_manager_t *fetcher_manager_create()
 
        return &this->public;
 }
-