summaryrefslogtreecommitdiff
path: root/tools/wispr.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-11-01 14:40:46 +0100
committerMarcel Holtmann <marcel@holtmann.org>2010-11-01 14:40:46 +0100
commit893403b7cd6793e97fe617218a70bf0d0bfa7142 (patch)
tree9bd8dff74a88362b7c50a3b32dec888014438a8d /tools/wispr.c
parent406ca6dc6ee38abca6dd9f20c458ee37d6b7c963 (diff)
downloadconnman-893403b7cd6793e97fe617218a70bf0d0bfa7142.tar.gz
connman-893403b7cd6793e97fe617218a70bf0d0bfa7142.tar.bz2
connman-893403b7cd6793e97fe617218a70bf0d0bfa7142.zip
Split the GET and POST method APIs
Diffstat (limited to 'tools/wispr.c')
-rw-r--r--tools/wispr.c3
1 files changed, 1 insertions, 2 deletions
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);