Skip to content

Commit

Permalink
Update to nbd.1.0.1 (specifically result is a poly variant)
Browse files Browse the repository at this point in the history
Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  • Loading branch information
David Scott committed Jan 30, 2014
1 parent 848cb8c commit 742987e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
0.7.1 (2014-01-30)
* update to nbd.1.0.1

0.7.0 (2014-01-30)
* vhd-tool: can create vhd-formatted output from 'hybrid' input
* update to ocaml-vhd 0.7.0
Expand Down
4 changes: 2 additions & 2 deletions src/impl.ml
Original file line number Diff line number Diff line change
Expand Up @@ -800,8 +800,8 @@ let serve_nbd_to_raw common size c dest _ _ _ _ =
let rec serve_requests () =
c.Channels.really_read req >>= fun () ->
match Request.unmarshal req with
| Result.Error e -> fail e
| Result.Ok request ->
| `Error e -> fail e
| `Ok request ->
if common.Common.debug
then Printf.fprintf stderr "%s\n%!" (Request.to_string request);
begin match request.Request.ty with
Expand Down

0 comments on commit 742987e

Please sign in to comment.