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_silcasync.c
diff --git
a/lib/silcutil/tests/test_silcasync.c
b/lib/silcutil/tests/test_silcasync.c
index 96210e08df50431c2286fb000f8070e5b5163841..92ff6669157fbb2cd22aa91fec59c3c5f6751d41 100644
(file)
--- a/
lib/silcutil/tests/test_silcasync.c
+++ b/
lib/silcutil/tests/test_silcasync.c
@@
-94,7
+94,7
@@
SILC_FSM_STATE(test_st_second)
/** Finish */
silc_fsm_next_later(fsm, test_st_finish, 2, 0);
/** Finish */
silc_fsm_next_later(fsm, test_st_finish, 2, 0);
- SILC_FSM_WAIT;
+
return
SILC_FSM_WAIT;
}
SILC_FSM_STATE(test_st_finish)
}
SILC_FSM_STATE(test_st_finish)
@@
-102,7
+102,7
@@
SILC_FSM_STATE(test_st_finish)
SILC_LOG_DEBUG(("test_st_finish"));
SILC_LOG_DEBUG(("Finish machine"));
SILC_LOG_DEBUG(("test_st_finish"));
SILC_LOG_DEBUG(("Finish machine"));
- SILC_FSM_FINISH;
+
return
SILC_FSM_FINISH;
}
static void destructor(SilcFSM fsm, void *fsm_context,
}
static void destructor(SilcFSM fsm, void *fsm_context,
@@
-122,11
+122,11
@@
int main(int argc, char **argv)
if (argc > 1 && !strcmp(argv[1], "-d")) {
silc_log_debug(TRUE);
silc_log_debug_hexdump(TRUE);
if (argc > 1 && !strcmp(argv[1], "-d")) {
silc_log_debug(TRUE);
silc_log_debug_hexdump(TRUE);
- silc_log_set_debug_string("*async*");
+ silc_log_set_debug_string("*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)