From: <bo...@us...> - 2004-01-15 20:22:04
|
Update of /cvsroot/sharedaemon/core/src In directory sc8-pr-cvs1:/tmp/cvs-serv8197 Modified Files: test.cpp Log Message: Corrected the nasty bug, that a non-existent server.met wasn't reported as an error Index: test.cpp =================================================================== RCS file: /cvsroot/sharedaemon/core/src/test.cpp,v retrieving revision 1.32 retrieving revision 1.33 diff -u -d -r1.32 -r1.33 --- test.cpp 12 Jan 2004 21:39:55 -0000 1.32 +++ test.cpp 15 Jan 2004 20:22:00 -0000 1.33 @@ -557,7 +557,7 @@ struct tag * tp; u32 nt; - ServerMet->Read(server_met); + if (!ServerMet->Read(server_met)) return false; ServerMet->Get(server_met_magic,"magic"); ServerMet->Get(num_servers,"num_servers"); |