From ef8c8f30c996d30617232a662ff4d3afc5a92a8f Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Wed, 8 Jan 2003 17:51:48 +0000 Subject: [PATCH] - added debugging log messages inside 'wget' --- helm/http_getter/http_getter_misc.ml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helm/http_getter/http_getter_misc.ml b/helm/http_getter/http_getter_misc.ml index 1d9c59273..4b82dd8e7 100644 --- a/helm/http_getter/http_getter_misc.ml +++ b/helm/http_getter/http_getter_misc.ml @@ -110,6 +110,9 @@ let http_get_iter_buf ~callback url = close_in inchan (* close also outchan, same fd *) let wget ?output url = + debug_print + (sprintf "wgetting %s (output: %s)" url + (match output with None -> "default" | Some f -> f)); match url with | url when Pcre.pmatch ~rex:file_scheme_RE url -> (* file:// *) (let src_fname = Pcre.replace ~rex:file_scheme_RE url in -- 2.39.2