diff options
Diffstat (limited to 'src/timeout.c')
-rw-r--r-- | src/timeout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timeout.c b/src/timeout.c index 2d88ded..0063378 100644 --- a/src/timeout.c +++ b/src/timeout.c | |||
@@ -54,7 +54,7 @@ void tm_init(p_tm tm, int block, int total) | |||
54 | * Returns | 54 | * Returns |
55 | * the number of ms left or -1 if there is no time limit | 55 | * the number of ms left or -1 if there is no time limit |
56 | \*-------------------------------------------------------------------------*/ | 56 | \*-------------------------------------------------------------------------*/ |
57 | int tm_getsuccess(p_tm tm) | 57 | int tm_get(p_tm tm) |
58 | { | 58 | { |
59 | if (tm->block < 0 && tm->total < 0) { | 59 | if (tm->block < 0 && tm->total < 0) { |
60 | return -1; | 60 | return -1; |
@@ -89,7 +89,7 @@ int tm_getstart(p_tm tm) | |||
89 | * Returns | 89 | * Returns |
90 | * the number of ms left or -1 if there is no time limit | 90 | * the number of ms left or -1 if there is no time limit |
91 | \*-------------------------------------------------------------------------*/ | 91 | \*-------------------------------------------------------------------------*/ |
92 | int tm_getfailure(p_tm tm) | 92 | int tm_getretry(p_tm tm) |
93 | { | 93 | { |
94 | if (tm->block < 0 && tm->total < 0) { | 94 | if (tm->block < 0 && tm->total < 0) { |
95 | return -1; | 95 | return -1; |