From 3a12db3e83dec243727cf6b4960478f11fe5a27f Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Wed, 25 Dec 2002 14:50:27 +0000 Subject: [PATCH] "qualified" callback req argument as required by new API --- helm/DEVEL/ocaml-http/examples/damned_recursion.ml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helm/DEVEL/ocaml-http/examples/damned_recursion.ml b/helm/DEVEL/ocaml-http/examples/damned_recursion.ml index 32faa0137..0280b3f1c 100644 --- a/helm/DEVEL/ocaml-http/examples/damned_recursion.ml +++ b/helm/DEVEL/ocaml-http/examples/damned_recursion.ml @@ -19,6 +19,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *) +open Http_types;; open Printf;; (* @@ -44,7 +45,7 @@ let wget addr port path = let inchan = Unix.in_channel_of_descr suck in wget' inchan "" in -let callback req outchan = +let callback (req: request) outchan = let i = int_of_string (req#param "x") in prerr_endline (string_of_int i); match i with -- 2.39.2