changeset 1415:e65082d76d26

Only announce URI serving in standalone HTTP server (grandfathered into release!)
author Adam Chlipala <adam@chlipala.net>
date Sun, 23 Jan 2011 15:34:06 -0500
parents 8c017e9e410e
children a8606c1cfe87
files src/c/http.c src/c/request.c
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/c/http.c	Sun Jan 23 15:01:30 2011 -0500
+++ b/src/c/http.c	Sun Jan 23 15:34:06 2011 -0500
@@ -192,6 +192,7 @@
 
         uw_set_headers(ctx, get_header, headers);
 
+        printf("Serving URI %s....\n", path);
         rr = uw_request(rc, ctx, method, path, query_string, body, back - body,
                         on_success, on_failure,
                         NULL, log_error, log_debug,
--- a/src/c/request.c	Sun Jan 23 15:01:30 2011 -0500
+++ b/src/c/request.c	Sun Jan 23 15:34:06 2011 -0500
@@ -414,8 +414,6 @@
     }
   }
 
-  log_debug(logger_data, "Serving URI %s....\n", path);
-
   while (1) {
     uw_setQueryString(ctx, rc->queryString);