mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 06:37:08 +00:00
fixup strsep and windows event assignment.
git-svn-id: file:///svn/unbound/trunk@3739 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
8072ea6930
commit
41b78b263d
@ -35,7 +35,7 @@
|
||||
static int
|
||||
in_delim(char c, const char* delim)
|
||||
{
|
||||
char* p;
|
||||
const char* p;
|
||||
if(!delim)
|
||||
return 0;
|
||||
for(p=delim; *p; p++) {
|
||||
@ -59,7 +59,7 @@ char *strsep(char **stringp, const char *delim)
|
||||
*s = 0;
|
||||
*stringp = s+1;
|
||||
} else {
|
||||
*stringp = s;
|
||||
*stringp = NULL;
|
||||
}
|
||||
return orig;
|
||||
}
|
||||
|
@ -60,7 +60,7 @@ static SERVICE_STATUS_HANDLE service_status_handle;
|
||||
/** global service stop event */
|
||||
static WSAEVENT service_stop_event = NULL;
|
||||
/** event struct for stop callbacks */
|
||||
static struct event* service_stop_ev = NULL;
|
||||
static struct ub_event* service_stop_ev = NULL;
|
||||
/** if stop even means shutdown or restart */
|
||||
static int service_stop_shutdown = 0;
|
||||
/** config file to open. global communication to service_main() */
|
||||
|
Loading…
Reference in New Issue
Block a user