[sr-dev] git:master:65ab73a7: core: str - fixed wrong (undo'ed) version of STR_ZTOV() macro
Daniel-Constantin Mierla
miconda at gmail.com
Mon Apr 27 15:25:17 CEST 2020
Module: kamailio
Branch: master
Commit: 65ab73a7efabf4a55e913adfa604094c9ad88cdb
URL: https://github.com/kamailio/kamailio/commit/65ab73a7efabf4a55e913adfa604094c9ad88cdb
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/65ab73a7efabf4a55e913adfa604094c9ad88cdb.diff
Patch: https://github.com/kamailio/kamailio/commit/65ab73a7efabf4a55e913adfa604094c9ad88cdb.patch
---
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)
/** @} */
More information about the sr-dev
mailing list