Missing username in TODO according to Google style guidelines "readability/todo"

This commit is contained in:
Micke Prag 2012-12-04 17:25:17 +01:00
parent 6136c16d83
commit 3441b9cc45
3 changed files with 3 additions and 3 deletions

View file

@ -171,7 +171,7 @@ std::wstring Client::sendToService(const Message &msg) {
debuglog(555, "Error in write, should retry");
continue; //retry
}
readData = s.read(1000); //TODO changed to 10000 from 5000, how much does this do...?
readData = s.read(1000); // TODO(stefan): changed to 10000 from 5000, how much does this do...?
if(readData == L""){
msleep(500);
continue; // TODO(stefan): can we be really sure it SHOULD be anything?

View file

@ -140,7 +140,7 @@ std::wstring Socket::read(int timeout){
if (err == ERROR_BROKEN_PIPE){
debuglog(static_cast<int>(err), "Got an error, close this socket");
d->connected = false;
break; //TODO is this correct?
break; // TODO(stefan): is this correct?
}
}
returnString.append(buf);

View file

@ -253,7 +253,7 @@ int Settings::getIntSetting(Node type, int intNodeId, const std::wstring &name,
std::wstring strSetting = getStringSetting(type, intNodeId, name, parameter);
if (strSetting.length()) {
intReturn = static_cast<int>(strSetting[0]); //TODO: do real conversion instead
intReturn = static_cast<int>(strSetting[0]); // TODO(micke): do real conversion instead
}
return intReturn;