certi-cvs
[Top][All Lists]
Advanced

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

[certi-cvs] certi/RTIA FederationManagement.cc


From: certi-cvs
Subject: [certi-cvs] certi/RTIA FederationManagement.cc
Date: Mon, 10 Mar 2008 10:55:55 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     ROUSSELOT <rousse>      08/03/10 10:55:55

Modified files:
        RTIA           : FederationManagement.cc 

Log message:
        Littre correction about removing temporary file in resign federation

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/RTIA/FederationManagement.cc?cvsroot=certi&r1=3.48&r2=3.49

Patches:
Index: FederationManagement.cc
===================================================================
RCS file: /sources/certi/certi/RTIA/FederationManagement.cc,v
retrieving revision 3.48
retrieving revision 3.49
diff -u -b -r3.48 -r3.49
--- FederationManagement.cc     7 Mar 2008 16:10:06 -0000       3.48
+++ FederationManagement.cc     10 Mar 2008 10:55:54 -0000      3.49
@@ -18,7 +18,7 @@
 // along with this program ; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 //
-// $Id: FederationManagement.cc,v 3.48 2008/03/07 16:10:06 rousse Exp $
+// $Id: FederationManagement.cc,v 3.49 2008/03/10 10:55:54 rousse Exp $
 // ----------------------------------------------------------------------------
 
 #include <config.h>
@@ -458,12 +458,14 @@
         _numero_federation = 0 ;
         federate = 0 ;
         // Now, remove temporary file (if not yet done)
+        if ( _FEDid != NULL)
+            {
             if ( _FEDid[0] != '\0' )
                 {
                 std::remove(_FEDid);
                 _FEDid[0] = '\0' ;
                 }
-
+            }
 
         // BUG: Voir DestroyFederation ou ~GF.
         if (!_est_createur_federation)
@@ -1009,4 +1011,4 @@
 
 }} // namespace certi/rtia
 
-// $Id: FederationManagement.cc,v 3.48 2008/03/07 16:10:06 rousse Exp $
+// $Id: FederationManagement.cc,v 3.49 2008/03/10 10:55:54 rousse Exp $




reply via email to

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