mirror of
https://github.com/kakwa/uts-server
synced 2025-01-09 21:24:29 +01:00
reformat code
This commit is contained in:
parent
1db5f9d182
commit
6c2fc8ef3e
@ -16,7 +16,7 @@ void log_hex(rfc3161_context *ct, int priority, char *id,
|
|||||||
int set_params(rfc3161_context *ct, char *conf_file, char *conf_wd);
|
int set_params(rfc3161_context *ct, char *conf_file, char *conf_wd);
|
||||||
static char *rand_string(char *str, size_t size);
|
static char *rand_string(char *str, size_t size);
|
||||||
void free_uts_context(rfc3161_context *ct);
|
void free_uts_context(rfc3161_context *ct);
|
||||||
const char *null_undef(const char * in);
|
const char *null_undef(const char *in);
|
||||||
|
|
||||||
// some global variable to handle signals
|
// some global variable to handle signals
|
||||||
int g_uts_sig_up;
|
int g_uts_sig_up;
|
||||||
|
@ -202,8 +202,8 @@ void uts_logger(rfc3161_context *ct, int priority, char *fmt, ...) {
|
|||||||
free(out);
|
free(out);
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *null_undef(const char * in){
|
const char *null_undef(const char *in) {
|
||||||
if(in == NULL)
|
if (in == NULL)
|
||||||
return "<undef>";
|
return "<undef>";
|
||||||
return in;
|
return in;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user