Skip to content

Commit 84c2ed7

Browse files
committed
work around a bug in ocamlformat0.27
1 parent 61ed373 commit 84c2ed7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/eliom_request.client.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,9 @@ let send ?with_credentials ?(expecting_process_page = false) ?cookies_info
318318
Lwt.return (url, Some (result r))
319319
else if r.XmlHttpRequest.code = 200
320320
|| XmlHttpRequest.(r.code = 0 && r.content <> "")
321-
(* HACK for file access within Cordova which yields code 0 *)
322-
(* Code 0 might mean a network error, but then we have no
323-
content. *)
321+
(* HACK for file access within Cordova which yields code 0.
322+
Code 0 might mean a network error, but then we have no
323+
content. *)
324324
then Lwt.return (r.XmlHttpRequest.url, Some (result r))
325325
else Lwt.fail (Failed_request r.XmlHttpRequest.code))
326326
(function

0 commit comments

Comments
 (0)