git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e38465
)
Fixed srvconf due to changes in BFStream.
author
Maxim Mamontov
<faust.madf@gmail.com>
Mon, 22 Sep 2014 20:25:58 +0000
(23:25 +0300)
committer
Maxim Mamontov
<faust.madf@gmail.com>
Mon, 22 Sep 2014 20:25:58 +0000
(23:25 +0300)
stglibs/srvconf.lib/netunit.cpp
patch
|
blob
|
history
diff --git
a/stglibs/srvconf.lib/netunit.cpp
b/stglibs/srvconf.lib/netunit.cpp
index baf02004930b76984495a16b55142466889ec172..6436e4f95e327a909864ca6ec3e32a1147690247 100644
(file)
--- 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.
i
sOk())
+if (!stream.
I
sOk())
{
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.
i
sOk())
+ if (!stream.
I
sOk())
return st_xml_parse_error;
}