Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mRemoteNG/PuTTYNG.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Kaim <kmscode@users.noreply.github.com>2019-03-17 03:15:46 +0300
committerSean Kaim <kmscode@users.noreply.github.com>2019-03-17 03:15:46 +0300
commit56adf72e95682adf4b0518eb8ad6ee5dd13e4410 (patch)
tree3af8f6311a56599b38005d5cc216b648723d5f11 /TIMING.C
parentd9289d37592683a7885d40a9e8527e8382809d92 (diff)
merge upstream 0.71 tag (part 1)
https://git.tartarus.org/?p=simon/putty.git;a=commit;h=abfc751c3ee7d57bf3f127a458c40bb4ca2b6996
Diffstat (limited to 'TIMING.C')
-rw-r--r--TIMING.C6
1 files changed, 3 insertions, 3 deletions
diff --git a/TIMING.C b/TIMING.C
index 696c1e1d..8036e438 100644
--- a/TIMING.C
+++ b/TIMING.C
@@ -164,7 +164,7 @@ unsigned long timing_last_clock(void)
* Returns the time (in ticks) expected until the next timer after
* that triggers.
*/
-int run_timers(unsigned long anow, unsigned long *next)
+bool run_timers(unsigned long anow, unsigned long *next)
{
struct timer *first;
@@ -176,7 +176,7 @@ int run_timers(unsigned long anow, unsigned long *next)
first = (struct timer *)index234(timers, 0);
if (!first)
- return FALSE; /* no timers remaining */
+ return false; /* no timers remaining */
if (find234(timer_contexts, first->ctx, NULL) == NULL) {
/*
@@ -200,7 +200,7 @@ int run_timers(unsigned long anow, unsigned long *next)
* future. Return how long it has yet to go.
*/
*next = first->now;
- return TRUE;
+ return true;
}
}
}