From e65bfd95e91f23cd4978d63f5fd19f407953e261 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sat, 12 Jul 2008 16:01:33 +0000 Subject: [PATCH] ebl Fix socket problem on win32 git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.4@7362 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/qt-console/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bacula/src/qt-console/main.cpp b/bacula/src/qt-console/main.cpp index 1facbaa7bd..cad8b94e80 100644 --- a/bacula/src/qt-console/main.cpp +++ b/bacula/src/qt-console/main.cpp @@ -122,6 +122,9 @@ int main(int argc, char *argv[]) usage(); } + OSDependentInit(); + WSA_Init(); /* Initialize Windows sockets */ + if (configfile == NULL) { configfile = bstrdup(CONFIG_FILE); } @@ -145,6 +148,7 @@ int main(int argc, char *argv[]) void terminate_console(int sig) { (void)sig; /* avoid compiler complaints */ + // WSA_Cleanup(); /* TODO: check when we have to call it */ exit(0); } -- 2.39.5