summaryrefslogtreecommitdiff
path: root/sapi/litespeed/lscriu.c
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/litespeed/lscriu.c')
-rw-r--r--sapi/litespeed/lscriu.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sapi/litespeed/lscriu.c b/sapi/litespeed/lscriu.c
index 7c5bda7e88..ba6e5b44cd 100644
--- a/sapi/litespeed/lscriu.c
+++ b/sapi/litespeed/lscriu.c
@@ -1,7 +1,5 @@
/*
+----------------------------------------------------------------------+
- | PHP Version 7 |
- +----------------------------------------------------------------------+
| Copyright (c) The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
@@ -405,8 +403,8 @@ static void LSCRIU_Restored_Error(int iFatal, char *format, ...) {
}
}
#else // no debugging
-static void inline LSCRIU_Debugging(void) {}
-static void inline LSCRIU_Restored_Error(int iFatal, char *format, ...) {}
+static inline void LSCRIU_Debugging(void) {}
+static inline void LSCRIU_Restored_Error(int iFatal, char *format, ...) {}
#endif
@@ -628,12 +626,14 @@ static int LSCRIU_Init_Env_Parameters(void)
gc_type == CRIU_GCOUNTER_SIG ? "signals" : "pipe");
lsapi_criu_signal(SIGUSR2, lsapi_siguser2);
}
- else
+ else {
lscriu_dbg("LSCRIU (%d): Use shared memory\n", getpid());
- LSCRIU_Set_Global_Counter_Type(gc_type);
+ }
+ LSCRIU_Set_Global_Counter_Type(gc_type);
}
- else
+ else {
lscriu_dbg("LSCRIU (%d): NOT Listening\n", getpid());
+ }
char *criu_mode = NULL;
criu_mode = getenv("LSAPI_CRIU");