reformat code

This commit is contained in:
kakwa 2017-04-22 02:33:05 +02:00
parent 1db5f9d182
commit 6c2fc8ef3e
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;
}