pass auth_str to uclient_new()
[project/uclient.git] / uclient-example.c
index 64395fa..2e88b28 100644 (file)
@@ -138,7 +138,7 @@ int main(int argc, char **argv)
 
        uloop_init();
 
 
        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;
        if (!cl) {
                fprintf(stderr, "Failed to allocate uclient context\n");
                return 1;