Commits

camlspotter committed 348734d

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