summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2020-03-12 17:37:49 +0700
committerDaniil Baturin <daniil@baturin.org>2020-03-12 17:37:49 +0700
commit2604ab856b9fcc117b60732ddcd337dd3d2e97a6 (patch)
tree63e416a6a510e838436ad10e8f0d190ad684c3b3
parent51d79a3f3e08c1bef2feb8a45580b068e037f928 (diff)
downloadvyconf-2604ab856b9fcc117b60732ddcd337dd3d2e97a6.tar.gz
vyconf-2604ab856b9fcc117b60732ddcd337dd3d2e97a6.zip
Fix module path for newer versions of the Protobuf compiler runtime.
-rw-r--r--src/vyconfd.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vyconfd.ml b/src/vyconfd.ml
index f2af9b0..d79bda9 100644
--- a/src/vyconfd.ml
+++ b/src/vyconfd.ml
@@ -146,7 +146,7 @@ let rec handle_connection world ic oc fd () =
try
let envelope = decode_request_envelope (Pbrt.Decoder.of_bytes req_msg) in
Lwt.return (Ok (envelope.token, envelope.request))
- with Protobuf.Decoder.Failure e -> Lwt.return (Error (Protobuf.Decoder.error_to_string e))
+ with Pbrt.Decoder.Failure e -> Lwt.return (Error (Pbrt.Decoder.error_to_string e))
in
let%lwt resp =
(match req with