1
0
mirror of https://github.com/kakwa/uts-server synced 2024-12-04 23:15:54 +01:00
This commit is contained in:
kakwa 2017-04-22 02:43:08 +02:00
commit 73a8a851a9
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;
}