diff --git a/common.cpp b/common.cpp index c50d5d3..73fbe45 100644 --- a/common.cpp +++ b/common.cpp @@ -611,6 +611,15 @@ char * ip_port_t::to_s() +void print_binary_chars(const char * a,int len) +{ + for(int i=0;i",(int)b); + } + log_bare(log_debug,"\n"); +} diff --git a/common.h b/common.h index f6b52ae..9a63ed9 100644 --- a/common.h +++ b/common.h @@ -142,13 +142,7 @@ int hex_to_u32(const string & a,u32_t &output); int create_fifo(char * file); -inline void print_binary_chars(const char * a,int len) -{ - for(int i=0;i",(int)b); - } - printf("\n"); -} +void print_binary_chars(const char * a,int len); + + #endif /* COMMON_H_ */