diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/web-test.c | 3 | ||||
-rw-r--r-- | tools/wispr.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/tools/web-test.c b/tools/web-test.c index 5a320ec6..58ff1317 100644 --- a/tools/web-test.c +++ b/tools/web-test.c @@ -119,8 +119,7 @@ int main(int argc, char *argv[]) timer = g_timer_new(); - if (g_web_request(web, G_WEB_METHOD_GET, argv[1], - web_result, NULL) == 0) { + if (g_web_request_get(web, argv[1], web_result, NULL) == 0) { fprintf(stderr, "Failed to start request\n"); return 1; } diff --git a/tools/wispr.c b/tools/wispr.c index 9d02cb69..99c0b69d 100644 --- a/tools/wispr.c +++ b/tools/wispr.c @@ -394,8 +394,7 @@ int main(int argc, char *argv[]) g_web_parser_ref(request_parser); g_web_parser_unref(request_parser); - request_id = g_web_request(web, G_WEB_METHOD_GET, option_url, - web_result, NULL); + request_id = g_web_request_get(web, option_url, web_result, NULL); g_free(option_url); |