mirror of
https://github.com/kakwa/uts-server
synced 2025-06-10 02:01:34 +02:00
Merge branch 'master' of https://github.com/kakwa/uts-server
This commit is contained in:
commit
f39a27c7e5
@ -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