Module: kamailio
Branch: master
Commit: 65ab73a7efabf4a55e913adfa604094c9ad88cdb
URL:
https://github.com/kamailio/kamailio/commit/65ab73a7efabf4a55e913adfa604094…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-04-27T15:24:23+02:00
core: str - fixed wrong (undo'ed) version of STR_ZTOV() macro
---
Modified: src/core/str.h
---
Diff:
https://github.com/kamailio/kamailio/commit/65ab73a7efabf4a55e913adfa604094…
Patch:
https://github.com/kamailio/kamailio/commit/65ab73a7efabf4a55e913adfa604094…
---
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)
/** @} */