mirror of
https://github.com/kakwa/uts-server
synced 2024-12-04 23:15:54 +01:00
reformat code
This commit is contained in:
parent
fc6e1de3bf
commit
2a512a8d6a
@ -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);
|
||||
static char *rand_string(char *str, size_t size);
|
||||
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
|
||||
int g_uts_sig_up;
|
||||
|
@ -202,8 +202,8 @@ void uts_logger(rfc3161_context *ct, int priority, char *fmt, ...) {
|
||||
free(out);
|
||||
}
|
||||
|
||||
const char *null_undef(const char * in){
|
||||
if(in == NULL)
|
||||
const char *null_undef(const char *in) {
|
||||
if (in == NULL)
|
||||
return "<undef>";
|
||||
return in;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user