certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] certi/RTIG main.cc


From: CERTI CVS commits
Subject: [certi-cvs] certi/RTIG main.cc
Date: Fri, 06 Dec 2013 12:24:47 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      13/12/06 12:24:47

Modified files:
        RTIG           : main.cc 

Log message:
        Provide a better error when @IP format is wrong

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/RTIG/main.cc?cvsroot=certi&r1=3.23&r2=3.24

Patches:
Index: main.cc
===================================================================
RCS file: /sources/certi/certi/RTIG/main.cc,v
retrieving revision 3.23
retrieving revision 3.24
diff -u -b -r3.23 -r3.24
--- main.cc     4 Sep 2013 07:56:47 -0000       3.23
+++ main.cc     6 Dec 2013 12:24:25 -0000       3.24
@@ -130,11 +130,11 @@
     std::set_new_handler(NewHandler);
 
     myRTIG.setVerboseLevel(verboseLevel);
+    try {
     // if a listening IP has been specified then use it
     if (args.listen_given) {
         myRTIG.setListeningIPAddress(args.listen_arg);
     }
-    try {
         myRTIG.execute();
     } catch (NetworkError& e) {
         std::cerr << "CERTI RTIG aborted with a Network Error: [" << e._reason 
<< "]." <<std::endl;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]