Skip to content

Commit

Permalink
fix to protoDebug.h for non-debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
bebopagogo committed Jun 8, 2024
1 parent 5dd0cbe commit 0ea5b00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/protoDebug.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ inline void SetDebugLevel(unsigned int level) {}
inline unsigned int GetDebugLevel() {return PL_FATAL;}
inline bool OpenDebugLog(const char *path) {return true;}
inline void CloseDebugLog() {}
inline FILE* GetDebugLog() {return stderr;}
inline bool OpenDebugPipe(const char* pipeName) {return true;}
inline void CloseDebugPipe() {}
inline void ProtoDMSG(unsigned int level, const char *format, ...) {}
Expand Down
1 change: 1 addition & 0 deletions src/common/protoFlow.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "protoFlow.h"
#include "protoDebug.h"

ProtoFlow::Description::Description(const ProtoAddress& dst, // invalid dst addr means any dst
const ProtoAddress& src, // invalid src addr means any src
Expand Down

0 comments on commit 0ea5b00

Please sign in to comment.