Module: kamailio
Branch: 5.3
Commit: f39814ce38fdaee6dd32dbacd956aa6da4966de8
URL:
https://github.com/kamailio/kamailio/commit/f39814ce38fdaee6dd32dbacd956aa6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-10-03T08:31:34+02:00
core: str - fixed wrong (undo'ed) version of STR_ZTOV() macro
(cherry picked from commit 65ab73a7efabf4a55e913adfa604094c9ad88cdb)
---
Modified: src/core/str.h
---
Diff:
https://github.com/kamailio/kamailio/commit/f39814ce38fdaee6dd32dbacd956aa6…
Patch:
https://github.com/kamailio/kamailio/commit/f39814ce38fdaee6dd32dbacd956aa6…
---
diff --git a/src/core/str.h b/src/core/str.h
index 83334b8c86..01b12ecb62 100644
--- a/src/core/str.h
+++ b/src/core/str.h
@@ -137,7 +137,7 @@ typedef struct _str str;
if (v != '\0') { \
c = v; \
} \
- }
+ } while(0)
/** @} */