From a5db3ced87f5f24500f785b70af8b8630bc1c077 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Thu, 9 May 2013 16:12:24 +0800 Subject: discover: log cleanup Remove some of the more noisy log messages, and add some information pertinent to device resolution events. Signed-off-by: Jeremy Kerr --- lib/url/url.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lib/url/url.c') diff --git a/lib/url/url.c b/lib/url/url.c index 42bd4a1..6d1004f 100644 --- a/lib/url/url.c +++ b/lib/url/url.c @@ -162,8 +162,6 @@ struct pb_url *pb_url_parse(void *ctx, const char *url_str) struct pb_url *url; const char *p; - pb_log("%s: '%s'\n", __func__, url_str); - if (!url_str || !*url_str) { assert(0 && "bad url"); return NULL; @@ -223,13 +221,6 @@ struct pb_url *pb_url_parse(void *ctx, const char *url_str) pb_url_parse_path(url); - pb_log(" scheme %d\n", url->scheme); - pb_log(" host '%s'\n", url->host); - pb_log(" port '%s'\n", url->port); - pb_log(" path '%s'\n", url->path); - pb_log(" dir '%s'\n", url->dir); - pb_log(" file '%s'\n", url->file); - return url; fail: -- cgit v1.2.1