Eliminate a potential double evaluation in one of the tracing macros.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@459 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
parent
2d1f74e6da
commit
8799ff11b9
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ pam_module_t *openpam_dynamic(const char *);
|
||||||
openpam_log(PAM_LOG_DEBUG, "returning NULL"); \
|
openpam_log(PAM_LOG_DEBUG, "returning NULL"); \
|
||||||
else \
|
else \
|
||||||
openpam_log(PAM_LOG_DEBUG, "returning %p", _p); \
|
openpam_log(PAM_LOG_DEBUG, "returning %p", _p); \
|
||||||
return (p); \
|
return (_p); \
|
||||||
} while (0)
|
} while (0)
|
||||||
#define RETURNS(s) do { \
|
#define RETURNS(s) do { \
|
||||||
const char *_s = (s); \
|
const char *_s = (s); \
|
||||||
|
|
Loading…
Reference in a new issue