gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r10036 - gnunet/src/arm


From: gnunet
Subject: [GNUnet-SVN] r10036 - gnunet/src/arm
Date: Mon, 18 Jan 2010 10:04:02 +0100

Author: grothoff
Date: 2010-01-18 10:04:02 +0100 (Mon, 18 Jan 2010)
New Revision: 10036

Modified:
   gnunet/src/arm/test_exponential_backoff.c
Log:
fix warnings

Modified: gnunet/src/arm/test_exponential_backoff.c
===================================================================
--- gnunet/src/arm/test_exponential_backoff.c   2010-01-18 09:00:05 UTC (rev 
10035)
+++ gnunet/src/arm/test_exponential_backoff.c   2010-01-18 09:04:02 UTC (rev 
10036)
@@ -86,7 +86,7 @@
                if ((tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN) != 0) 
                        fprintf(killLogFilePtr, "Reason is shutdown!\n");
                else if ((tc->reason & GNUNET_SCHEDULER_REASON_TIMEOUT) != 0)
-                       fprintf(killLogFilePtr, "%d.Reason is timeout!\n", 
trialCount);
+                 fprintf(killLogFilePtr, "%d.Reason is timeout!\n", 
trialCount);
                else if ((tc->reason & GNUNET_SCHEDULER_REASON_PREREQ_DONE) != 
0)
                        fprintf(killLogFilePtr, "%d.Service is running!\n", 
trialCount);
        }
@@ -110,7 +110,11 @@
                waitedFor = GNUNET_TIME_absolute_get_duration(startedWaitingAt);
                trialCount++;
                if (trialCount >= 11) 
-                       fprintf(killLogFilePtr, "Trial no.%d, Started waiting 
at:%lld. Waited for: %lld\n", trialCount, startedWaitingAt.value, 
waitedFor.value);
+                 fprintf(killLogFilePtr,
+                         "Trial no.%d, Started waiting at: %llu. Waited for: 
%llu\n", 
+                         trialCount, 
+                         (unsigned long long) startedWaitingAt.value, 
+                         (unsigned long long) waitedFor.value);
        }
        
         /* Connect to the doNothing task */ 





reply via email to

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