projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added SILC Thread Queue API
[silc.git]
/
lib
/
silcutil
/
tests
/
test_silcfsm.c
diff --git
a/lib/silcutil/tests/test_silcfsm.c
b/lib/silcutil/tests/test_silcfsm.c
index f041630f1cfe16426ef353723e9fb800f0a07481..782165f65c7ea09298259afa8ee40ca9e96487f1 100644
(file)
--- a/
lib/silcutil/tests/test_silcfsm.c
+++ b/
lib/silcutil/tests/test_silcfsm.c
@@
-212,7
+212,7
@@
SILC_FSM_STATE(test_st_signal1)
SILC_LOG_DEBUG(("Signaller 1"));
SILC_FSM_EVENT_SIGNAL(&f->wait2);
SILC_LOG_DEBUG(("Signaller 1"));
SILC_FSM_EVENT_SIGNAL(&f->wait2);
- silc_fsm_next_later(fsm, test_st_signal1_check, 0, 500000);
+ silc_fsm_next_later(fsm, test_st_signal1_check, 0, 500000);
return SILC_FSM_WAIT;;
}
return SILC_FSM_WAIT;;
}
@@
-450,11
+450,11
@@
int main(int argc, char **argv)
silc_log_debug(TRUE);
silc_log_debug_hexdump(TRUE);
silc_log_quick(TRUE);
silc_log_debug(TRUE);
silc_log_debug_hexdump(TRUE);
silc_log_quick(TRUE);
- silc_log_set_debug_string("*fsm*,*async*");
+ silc_log_set_debug_string("*fsm*,*async*
,*errno*
");
}
SILC_LOG_DEBUG(("Allocating scheduler"));
}
SILC_LOG_DEBUG(("Allocating scheduler"));
- schedule = silc_schedule_init(0, NULL);
+ schedule = silc_schedule_init(0, NULL
, NULL
);
f = silc_calloc(1, sizeof(*f));
if (!f)
f = silc_calloc(1, sizeof(*f));
if (!f)