From 4e09fdec0fe2bfe4d251b2854ff6e4837179010f Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sat, 12 Jul 2008 16:01:13 +0000 Subject: [PATCH] ebl Fix socket usage on win32 git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7361 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 6e471829f7..bfb4edc32b 100644 --- a/bacula/src/qt-console/main.cpp +++ b/bacula/src/qt-console/main.cpp @@ -135,6 +135,9 @@ int main(int argc, char *argv[]) usage(); } + OSDependentInit(); + WSA_Init(); /* Initialize Windows sockets */ + if (configfile == NULL) { configfile = bstrdup(CONFIG_FILE); } @@ -158,6 +161,7 @@ int main(int argc, char *argv[]) void terminate_console(int /*sig*/) { +// WSA_Cleanup(); /* TODO: check when we have to call it */ exit(0); } -- 2.39.5