diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-11-01 14:40:46 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-11-01 14:40:46 +0100 |
commit | 893403b7cd6793e97fe617218a70bf0d0bfa7142 (patch) | |
tree | 9bd8dff74a88362b7c50a3b32dec888014438a8d /tools/web-test.c | |
parent | 406ca6dc6ee38abca6dd9f20c458ee37d6b7c963 (diff) | |
download | connman-893403b7cd6793e97fe617218a70bf0d0bfa7142.tar.gz connman-893403b7cd6793e97fe617218a70bf0d0bfa7142.tar.bz2 connman-893403b7cd6793e97fe617218a70bf0d0bfa7142.zip |
Split the GET and POST method APIs
Diffstat (limited to 'tools/web-test.c')
-rw-r--r-- | tools/web-test.c | 3 |
1 files changed, 1 insertions, 2 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; } |