projects
/
runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added silc_schedule_[set|get]_global. Added many APIs to call
[runtime.git]
/
lib
/
silchttp
/
silchttpserver.c
diff --git
a/lib/silchttp/silchttpserver.c
b/lib/silchttp/silchttpserver.c
index f43b26a354d8fd0703d82beab9929246e57586df..510d51b03ec3ad7621d105bec5e11322483d1255 100644
(file)
--- a/
lib/silchttp/silchttpserver.c
+++ b/
lib/silchttp/silchttpserver.c
@@
-457,6
+457,9
@@
SilcHttpServer silc_http_server_alloc(const char *ip, SilcUInt16 port,
SILC_LOG_DEBUG(("Start HTTP server at %s:%d", ip, port));
+ if (!schedule)
+ schedule = silc_schedule_get_global();
+
if (!ip || !schedule || !callback)
return FALSE;