Loading src/auth.cpp +0 −3 Original line number Diff line number Diff line Loading @@ -84,8 +84,6 @@ bool blogi::Auth::locallogin(const int tid,const char* username, const char* pas #ifdef LDAPSUPPORT bool blogi::Auth::ldapLogin(const int tid,const char *username,const char *password,const char *ssid){ libhttppp::HTTPException excep; timeval ltimeout; ltimeout.tv_sec = 5; LDAP* userldap; LDAPControl* userserverctls = nullptr; Loading Loading @@ -147,7 +145,6 @@ bool blogi::Auth::ldapLogin(const int tid,const char *username,const char *passw BerElement* ber; char* dn; char* attribute; bool auth = false; for (entry = ldap_first_entry(userldap, answer); entry != NULL; entry = ldap_next_entry(userldap, entry)) { Loading src/conf.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ blogi::Config::Config(const char *path) : confplus::Config(path){ if(getKey("/BLOGI/PLUGINDIR")){ for(int i =0; i<getElements(getKey("/BLOGI/PLUGINDIR")); ++i){ for(size_t i =0; i<getElements(getKey("/BLOGI/PLUGINDIR")); ++i){ _PlgDir.push_back(getValue(getKey("/BLOGI/PLUGINDIR"),i)); } } Loading src/editor.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -47,7 +47,7 @@ void blogi::Editor::addIcon(const unsigned char* icon, size_t iconsize,const cha } _lastIcon->_Icon.resize(iconsize); for(int i=0; i<iconsize; ++i){ for(size_t i=0; i<iconsize; ++i){ _lastIcon->_Icon.push_back(icon[i]); } Loading Loading
src/auth.cpp +0 −3 Original line number Diff line number Diff line Loading @@ -84,8 +84,6 @@ bool blogi::Auth::locallogin(const int tid,const char* username, const char* pas #ifdef LDAPSUPPORT bool blogi::Auth::ldapLogin(const int tid,const char *username,const char *password,const char *ssid){ libhttppp::HTTPException excep; timeval ltimeout; ltimeout.tv_sec = 5; LDAP* userldap; LDAPControl* userserverctls = nullptr; Loading Loading @@ -147,7 +145,6 @@ bool blogi::Auth::ldapLogin(const int tid,const char *username,const char *passw BerElement* ber; char* dn; char* attribute; bool auth = false; for (entry = ldap_first_entry(userldap, answer); entry != NULL; entry = ldap_next_entry(userldap, entry)) { Loading
src/conf.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ blogi::Config::Config(const char *path) : confplus::Config(path){ if(getKey("/BLOGI/PLUGINDIR")){ for(int i =0; i<getElements(getKey("/BLOGI/PLUGINDIR")); ++i){ for(size_t i =0; i<getElements(getKey("/BLOGI/PLUGINDIR")); ++i){ _PlgDir.push_back(getValue(getKey("/BLOGI/PLUGINDIR"),i)); } } Loading
src/editor.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -47,7 +47,7 @@ void blogi::Editor::addIcon(const unsigned char* icon, size_t iconsize,const cha } _lastIcon->_Icon.resize(iconsize); for(int i=0; i<iconsize; ++i){ for(size_t i=0; i<iconsize; ++i){ _lastIcon->_Icon.push_back(icon[i]); } Loading