Added check for _last_of for fileName and merged all definitions for socklen_t

to one line.
This commit is contained in:
Don BURNS
2005-04-08 19:39:05 +00:00
parent bd31479740
commit e3091ac4bd
2 changed files with 2 additions and 5 deletions

View File

@@ -207,7 +207,7 @@ class NetReader : public osgDB::ReaderWriter
std::string fileName;
int index = inFileName.find(":");
int index = inFileName.find_last_of(":");
// If we haven't been given a hostname as an option
// and it hasn't been prefixed to the name, we fail
if( index != -1 )