Mercurial > hg > audiodb
diff soap.cpp @ 338:cdb31e8b94e3
fixed startServer() reporting of non-locatable database or index. Achieved by setting isServer=1 AFTER checking database and loading INDEX.
author | mas01mc |
---|---|
date | Fri, 05 Sep 2008 16:40:41 +0000 |
parents | 100cf66a5825 |
children | 30384a82983a |
line wrap: on
line diff
--- a/soap.cpp Fri Sep 05 14:35:44 2008 +0000 +++ b/soap.cpp Fri Sep 05 16:40:41 2008 +0000 @@ -398,7 +398,8 @@ SERVER_ADB_ROOT = (char*)adb_root; // Server-side database root if(adb_feature_root) SERVER_ADB_FEATURE_ROOT = (char*)adb_feature_root; // Server-side features root - + + isServer = 1; // From this point, errors are reported via SOAP to the client for (int i = 1; ; i++) { s = soap_accept(&soap);