]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/netunit.h
Add subscription for 'connected' property
[stg.git] / stglibs / srvconf.lib / netunit.h
index 007dc8c570738c5be201ae99142d0ffc7bf6bae0..91218b186284a02eec340ee444e0e64fcb34b16e 100644 (file)
@@ -114,8 +114,8 @@ private:
 
     std::string server;
     short unsigned  port;
 
     std::string server;
     short unsigned  port;
-    char    login[ADM_LOGIN_LEN];
-    char    password[ADM_PASSWD_LEN];
+    std::string login;
+    std::string password;
     int     outerSocket;
     std::list<std::string>   answerList;
     RxCallback_t RxCallBack;
     int     outerSocket;
     std::list<std::string>   answerList;
     RxCallback_t RxCallBack;