add support for 204 (no content)
[project/uclient.git] / uclient-example.c
index 64395faea8544832b8a3a08b365208cfc2960a9d..2e88b28b871e673b689dc60938b51645ff370fcd 100644 (file)
@@ -138,7 +138,7 @@ int main(int argc, char **argv)
 
        uloop_init();
 
-       cl = uclient_new(argv[0], &cb);
+       cl = uclient_new(argv[0], NULL, &cb);
        if (!cl) {
                fprintf(stderr, "Failed to allocate uclient context\n");
                return 1;