X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/359e4b28458d352dc55ac39db7e4b5bb308eb361..76fb825a64343da7a8aa9b16c5dbcab709504832:/stglibs/srvconf.lib/netunit.cpp diff --git a/stglibs/srvconf.lib/netunit.cpp b/stglibs/srvconf.lib/netunit.cpp index 68d64678..f70cf27d 100644 --- a/stglibs/srvconf.lib/netunit.cpp +++ b/stglibs/srvconf.lib/netunit.cpp @@ -26,7 +26,8 @@ //--------------------------------------------------------------------------- -#include "stg/netunit.h" +#include "netunit.h" + #include "stg/servconf_types.h" #include "stg/common.h" #include "stg/blowfish.h" @@ -43,6 +44,8 @@ #include #include +using namespace STG; + namespace { @@ -435,7 +438,7 @@ while (true) bool final = false; size_t pos = 0; - for (; pos < ENC_MSG_LEN && buffer[pos] != 0; pos++); + for (; pos < ENC_MSG_LEN && buffer[pos] != 0; pos++) ; if (pos < ENC_MSG_LEN && buffer[pos] == 0) final = true;