MCPcopy Create free account
hub / github.com/HASwitchPlate/openHASP / credentials

Method credentials

lib/SimpleFTPServer/FtpServer.cpp:120–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120void FtpServer::credentials(const char* _user, const char* _pass)
121{
122 this->user = user;
123 this->pass = _pass;
124
125 /*
126 if(strlen(_user) > 0 && strlen(_user) < FTP_CRED_SIZE)
127 // strcpy( user, _user );
128 this->user = user;
129 if(strlen(_pass) > 0 && strlen(_pass) < FTP_CRED_SIZE)
130 // strcpy( pass, _pass );
131 this->pass = _pass; */
132}
133
134void FtpServer::iniVariables()
135{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected