diff --git a/source/bforce/logger.c b/source/bforce/logger.c index 13d5071..fcd3300 100644 --- a/source/bforce/logger.c +++ b/source/bforce/logger.c @@ -336,7 +336,7 @@ int log(const char *s, ...) const int LP_O = fac || LOG_DEBUG; 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); @@ -363,7 +363,7 @@ int logerr(const char *s, ...) int fac = conf_number(cf_syslog_facility); 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); diff --git a/source/include/nodelist.h b/source/include/nodelist.h index 4bf46af..2a48222 100644 --- a/source/include/nodelist.h +++ b/source/include/nodelist.h @@ -14,6 +14,7 @@ #ifndef _NODELIST_H_ #define _NODELIST_H_ +#define MAX_NAME 255 /* * Each nodelist has corresponding index file. Index file name is the * 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); void nodelist_initnode(s_node *node, s_faddr addr); + + #endif /* _NODELIST_H_ */