Commit a5ecc871 authored by Pekka Pessi's avatar Pekka Pessi

Do not log error if su_timer_set() is called with NULL timer.

darcs-hash:20060317175227-65a35-0a6ac64476a2d2fb87278729828a757e297c7e4c.gz
parent bead42cb
......@@ -286,10 +286,8 @@ int su_timer_set(su_timer_t *t,
char const *func = "su_timer_set";
su_timer_t **timers;
if (t == NULL) {
SU_DEBUG_1(("%s(%p): %s\n", func, t, "NULL argument"));
if (t == NULL)
return -1;
}
assert(t->sut_duration > 0);
if (t->sut_duration == 0) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment