From: Marcel Holtmann Date: Sat, 30 Oct 2010 13:54:10 +0000 (+0200) Subject: Let the test tool use ConnMan as user agent string X-Git-Tag: 0.63~38 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1f29bdb3f8f8881f179427477027140efe4821a1;p=platform%2Fupstream%2Fconnman.git Let the test tool use ConnMan as user agent string --- diff --git a/tools/web-test.c b/tools/web-test.c index 0d0e363..f48853e 100644 --- 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],