projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfb55ed
)
Let the test tool use ConnMan as user agent string
author
Marcel Holtmann
<marcel@holtmann.org>
Sat, 30 Oct 2010 13:54:10 +0000
(15:54 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sat, 30 Oct 2010 13:54:10 +0000
(15:54 +0200)
tools/web-test.c
patch
|
blob
|
history
diff --git
a/tools/web-test.c
b/tools/web-test.c
index
0d0e363
..
f48853e
100644
(file)
--- a/
tools/web-test.c
+++ b/
tools/web-test.c
@@
-111,6
+111,8
@@
int main(int argc, char *argv[])
g_free(option_nameserver);
}
+ g_web_set_user_agent(web, "ConnMan/%s", VERSION);
+
timer = g_timer_new();
if (g_web_request(web, G_WEB_METHOD_GET, argv[1],