summaryrefslogtreecommitdiff
path: root/devel/subcommander2/files/patch-subcommander__subcommander.cpp
blob: b2bd8bf37e6d29338858ada38c2e2b5c079e4aba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- subcommander/subcommander.cpp.orig	2009-09-20 18:10:18.000000000 +0900
+++ subcommander/subcommander.cpp	2012-05-10 06:03:26.000000000 +0900
@@ -64,12 +64,6 @@
 #endif // _WIN32
 }
 
-void exit_neon()
-{
-#ifdef _WIN32
-  ne_sock_exit();
-#endif // _WIN32
-}
 
 
 /** main for running the tests. */
@@ -123,7 +117,7 @@
     // no way to bring up a dialog if something went wrong in the basic
     // initialization.
 
-    fprintf( stderr, e.getError()->getMessage() );
+    fprintf( stderr, "%s", e.getError()->getMessage().getStr() );
     return EXIT_FAILURE;
   }
 
@@ -167,7 +161,6 @@
     //config.save();
 
     exit_ssl();
-    exit_neon();
 
     TargetRepository::teardown();
     stopStackProcess();