PBD::init() failing is fatal in main(), don't silently exit.
authorRobin Gareus <robin@gareus.org>
Mon, 3 Jul 2017 12:45:41 +0000 (14:45 +0200)
committerRobin Gareus <robin@gareus.org>
Mon, 3 Jul 2017 12:45:41 +0000 (14:45 +0200)
libs/pbd/pbd.cc

index ab0f668f26d93406dc6632fc370b01e88851e22c..a7a818ee5ffff8782c16451dc67e8bad39971c22 100644 (file)
@@ -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;
        }