]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/netunit.cpp
Fixes in paths.
[stg.git] / stglibs / srvconf.lib / netunit.cpp
index 73f0f485dce7b2138cbc269f97734dbb8dd6838f..f70cf27da5b2aedce6d06e067619aa5cf5faa1fb 100644 (file)
@@ -44,6 +44,8 @@
 #include <sys/socket.h>
 #include <netinet/in.h>
 
+using namespace STG;
+
 namespace
 {
 
@@ -436,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;