1
0
Fork 0

cosmetic changes *only*:

- fix mixed tab/space indentation (replace all tabs by 8 spaces)
- remove trailing spaces
- rename one local variable (ttt -> pwd)
This commit is contained in:
mfranz 2008-06-11 18:02:19 +00:00
parent 5cb6e43767
commit 0317d992b9

View file

@ -230,12 +230,12 @@ PropsChannel::foundTerminator()
} }
} }
} else if ( command == "pwd" ) { } else if ( command == "pwd" ) {
string ttt = node->getPath(); string pwd = node->getPath();
if (ttt.empty()) { if (pwd.empty()) {
ttt = "/"; pwd = "/";
} }
push( ttt.c_str() ); push( pwd.c_str() );
push( getTerminator() ); push( getTerminator() );
} else if ( command == "get" || command == "show" ) { } else if ( command == "get" || command == "show" ) {
if ( tokens.size() == 2 ) { if ( tokens.size() == 2 ) {