From 607bc1d33250a303acfd44271f53e9d92515a3f6 Mon Sep 17 00:00:00 2001 From: Wlodzimierz Lipert Date: Sun, 18 Aug 2024 16:47:26 +0200 Subject: [PATCH] Fixed type in status. Switched to forked zmqpp. Updated ensure module. --- .gitmodules | 2 +- MDP.h | 4 ++-- ensure | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitmodules b/.gitmodules index 8365d4b..4b7af4c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "zmqpp"] path = zmqpp - url = https://github.com/zeromq/zmqpp + url = https://github.com/wdl83/zmqpp [submodule "ensure"] path = ensure url = https://github.com/wdl83/ensure diff --git a/MDP.h b/MDP.h index a351a5e..49c5a52 100644 --- a/MDP.h +++ b/MDP.h @@ -157,7 +157,7 @@ constexpr auto serviceUnsupported = "service unsupported"; constexpr auto serviceBusy = "service busy"; constexpr auto serviceRegistered = "service registered"; constexpr auto serviceFailure = "service failure"; -constexpr auto statusSucess = "sucess"; +constexpr auto statusSucess = "success"; constexpr auto statusFailure = "failure"; } @@ -166,7 +166,7 @@ constexpr auto statusFailure = "failure"; * Frame 1: Empty (zero bytes, invisible to REQ application) * Frame 2: "MDPC01" (six bytes, representing MDP/Client v0.1) * Frame 3: Service name (printable string) - * Frame 4: status (sucess | failure) + * Frame 4: status (success | failure) * Frames 5+: Reply body (opaque binary) */ template Message makeSucessClientRep( diff --git a/ensure b/ensure index 4ce27b2..4a28099 160000 --- a/ensure +++ b/ensure @@ -1 +1 @@ -Subproject commit 4ce27b2ee375fe27ed618835483c0ac081dd4ef8 +Subproject commit 4a28099a795855a372dadbbb7bb09aaabd11f240