From 61b81e9d4ef10c5445ace91fbdfc4d2c040e67d2 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Mon, 22 Sep 2014 23:25:58 +0300 Subject: [PATCH] Fixed srvconf due to changes in BFStream. --- stglibs/srvconf.lib/netunit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stglibs/srvconf.lib/netunit.cpp b/stglibs/srvconf.lib/netunit.cpp index baf02004..6436e4f9 100644 --- a/stglibs/srvconf.lib/netunit.cpp +++ b/stglibs/srvconf.lib/netunit.cpp @@ -343,7 +343,7 @@ int NETTRANSACT::TxData(const std::string & text) { STG::ENCRYPT_STREAM stream(password, TxCrypto, this); stream.Put(text.c_str(), text.length() + 1, true); -if (!stream.isOk()) +if (!stream.IsOk()) { errorMsg = SEND_DATA_ERROR; return st_send_fail; @@ -367,7 +367,7 @@ while (!state.final) return st_recv_fail; } stream.Put(buffer, res, res == 0); - if (!stream.isOk()) + if (!stream.IsOk()) return st_xml_parse_error; } -- 2.44.2