From ddf55c0d8844c3fda4b62b8b57de9ea8c5e332a7 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 3 Jul 2017 14:45:41 +0200 Subject: [PATCH] PBD::init() failing is fatal in main(), don't silently exit. --- libs/pbd/pbd.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libs/pbd/pbd.cc b/libs/pbd/pbd.cc index ab0f668f26..a7a818ee5f 100644 --- a/libs/pbd/pbd.cc +++ b/libs/pbd/pbd.cc @@ -103,9 +103,7 @@ PBD::init () */ if (WSAStartup(MAKEWORD(1,1),&wsaData) != 0) { - fatal << X_("Windows socket initialization failed with error: ") << WSAGetLastError() << endmsg; - abort(); - /*NOTREACHED*/ + error << X_("Windows socket initialization failed with error: ") << WSAGetLastError() << endmsg; return false; }