Skip to content

Commit

Permalink
cluster sync logging: Fix incomplete "if" condition
Browse files Browse the repository at this point in the history
Reported by William Jin

(cherry picked from commit 892c2ee)
  • Loading branch information
liviuchircu committed Jul 1, 2020
1 parent dd45419 commit fd61a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin_interface.h
Expand Up @@ -48,7 +48,7 @@
#define _ensure_bin_version(pkt, needed, pkt_desc) \
do { \
if (get_bin_pkg_version(pkt) != (needed)) { \
if (pkt_desc) \
if (pkt_desc && *pkt_desc) \
LM_INFO("discarding %s, ver %d: need ver %d\n", \
pkt_desc, get_bin_pkg_version(pkt), (needed)); \
else \
Expand Down

0 comments on commit fd61a62

Please sign in to comment.