*** empty log message ***
This commit is contained in:
parent
4c298784d4
commit
768f1fc8a7
@ -336,7 +336,7 @@ int log(const char *s, ...)
|
|||||||
const int LP_O = fac || LOG_DEBUG;
|
const int LP_O = fac || LOG_DEBUG;
|
||||||
const int log_priority = fac || LOG_ERR;
|
const int log_priority = fac || LOG_ERR;
|
||||||
|
|
||||||
time_string_log(timestr, sizeof(timestr), 0);
|
// time_string_log(timestr, sizeof(timestr), 0);
|
||||||
|
|
||||||
va_start(args, s);
|
va_start(args, s);
|
||||||
|
|
||||||
@ -363,7 +363,7 @@ int logerr(const char *s, ...)
|
|||||||
int fac = conf_number(cf_syslog_facility);
|
int fac = conf_number(cf_syslog_facility);
|
||||||
const int log_priority = fac || LOG_ERR;
|
const int log_priority = fac || LOG_ERR;
|
||||||
|
|
||||||
time_string_log(timestr, sizeof(timestr), 0);
|
// time_string_log(timestr, sizeof(timestr), 0);
|
||||||
|
|
||||||
va_start(args, s);
|
va_start(args, s);
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
#ifndef _NODELIST_H_
|
#ifndef _NODELIST_H_
|
||||||
#define _NODELIST_H_
|
#define _NODELIST_H_
|
||||||
|
|
||||||
|
#define MAX_NAME 255
|
||||||
/*
|
/*
|
||||||
* Each nodelist has corresponding index file. Index file name is the
|
* Each nodelist has corresponding index file. Index file name is the
|
||||||
* same as nodelist, but extension is changed to the ".bni", so index
|
* same as nodelist, but extension is changed to the ".bni", so index
|
||||||
@ -165,4 +166,6 @@ int nodelist_lookup_string(char *buffer, size_t buflen, s_faddr addr);
|
|||||||
int nodelist_lookup(s_node *node, s_faddr addr);
|
int nodelist_lookup(s_node *node, s_faddr addr);
|
||||||
void nodelist_initnode(s_node *node, s_faddr addr);
|
void nodelist_initnode(s_node *node, s_faddr addr);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* _NODELIST_H_ */
|
#endif /* _NODELIST_H_ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user