web.texi: fix uri->string invocation
authorAndy Wingo <wingo@pobox.com>
Thu, 31 Mar 2011 14:17:35 +0000 (16:17 +0200)
committerAndy Wingo <wingo@pobox.com>
Thu, 31 Mar 2011 14:17:35 +0000 (16:17 +0200)
* doc/ref/web.texi (Web Examples): Fix uri->string invocation.  Thanks
  to Romel Sandoval for the report.

doc/ref/web.texi

index a72a187..dd2e396 100644 (file)
@@ -1575,7 +1575,7 @@ probably know, we'll want to return a 404 response.
 (define (not-found request)
   (values (build-response #:code 404)
           (string-append "Resource not found: "
-                         (unparse-uri (request-uri request)))))
+                         (uri->string (request-uri request)))))
 
 ;; Now paste this to let the web server keep going:
 ,continue