Committed accidentally and forgot to fix it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20260 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
b15ce38615
commit
0c2f529390
@ -6,7 +6,7 @@
|
||||
#include "Debug.h"
|
||||
#include "ServerDefs.h"
|
||||
#include "UserlandFSDispatcher.h"
|
||||
//#include "UserlandFSServer.h"
|
||||
#include "UserlandFSServer.h"
|
||||
|
||||
// server signature
|
||||
static const char* kServerSignature
|
||||
@ -98,14 +98,14 @@ main(int argc, char** argv)
|
||||
error = dispatcher->Init();
|
||||
app = dispatcher;
|
||||
} else {
|
||||
// UserlandFSServer* server
|
||||
// = new(nothrow) UserlandFSServer(kServerSignature);
|
||||
// if (!server) {
|
||||
// fprintf(stderr, "Failed to create server.\n");
|
||||
// return 1;
|
||||
// }
|
||||
// error = server->Init(fileSystem);
|
||||
// app = server;
|
||||
UserlandFSServer* server
|
||||
= new(nothrow) UserlandFSServer(kServerSignature);
|
||||
if (!server) {
|
||||
fprintf(stderr, "Failed to create server.\n");
|
||||
return 1;
|
||||
}
|
||||
error = server->Init(fileSystem);
|
||||
app = server;
|
||||
}
|
||||
|
||||
// run it, if everything went fine
|
||||
|
Loading…
Reference in New Issue
Block a user