Commits

camlspotter committed c90a8ae

fixed for spotlib.2.4.0

Comments (0)

Files changed (1)

   h#set_writefunction (fun s -> 
     output_string oc s; String.length s);
   wrap & fun () -> 
-    protect' (fun () -> h#perform) ~finally:(fun () -> close_out oc);
+    protect_ (fun () -> h#perform) ~finally:(fun () -> close_out oc);
     let code = h#get_httpcode in
     h#cleanup; (* Need to flush out cookies *)
     match code with