diff options
author | Linus Nordberg <linus@nordu.net> | 2012-01-19 09:10:07 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2012-01-19 09:10:07 +0100 |
commit | 563a1d032cd043b82a5c484f34d716ccaf5d66d2 (patch) | |
tree | 37d5dcfc5a4946ac2627ed7c3a462d2e286a4f6b /lib | |
parent | bd18a7210b728cab6f9cebc35cf0b4a05c50a47f (diff) |
Cosmetic changes.
Better names of formal arguments in test program.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/examples/client-blocking.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/examples/client-blocking.c b/lib/examples/client-blocking.c index 23cd674..eb0648a 100644 --- a/lib/examples/client-blocking.c +++ b/lib/examples/client-blocking.c @@ -15,7 +15,8 @@ #define USER_PW "password" struct rs_error * -blocking_client (const char *av1, const char *av2, int use_request_object_flag) +blocking_client (const char *config_fn, const char *configuration, + int use_request_object_flag) { struct rs_context *h = NULL; struct rs_connection *conn = NULL; @@ -45,11 +46,11 @@ blocking_client (const char *av1, const char *av2, int use_request_object_flag) goto cleanup; } #else /* defined (USE_CONFIG_FILE) */ - if (rs_context_read_config (h, av1)) + if (rs_context_read_config (h, config_fn)) goto cleanup; if (rs_context_init_freeradius_dict (h, NULL)) goto cleanup; - if (rs_conn_create (h, &conn, av2)) + if (rs_conn_create (h, &conn, configuration)) goto cleanup; #endif /* defined (USE_CONFIG_FILE) */ |