hide rcall properly if needed

This commit is contained in:
Joris Vink 2019-09-26 16:05:01 +02:00
parent 937c39f041
commit 9d7ef805f0
1 changed files with 3 additions and 3 deletions

View File

@ -703,11 +703,11 @@ static void
kore_server_start(int argc, char *argv[])
{
u_int32_t tmp;
struct kore_runtime_call *rcall;
u_int64_t netwait;
int quit, last_sig;
rcall = NULL;
#if defined(KORE_SINGLE_BINARY) || !defined(KORE_USE_PYTHON)
struct kore_runtime_call *rcall;
#endif
if (foreground == 0) {
if (daemon(1, 0) == -1)