The only place RETURNP() is used returns a non-const pointer.

git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@511 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
Dag-Erling Smørgrav 2012-01-09 13:25:09 +00:00
parent 596b3af085
commit 41bb288744
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@
return (n_); \
} while (0)
#define RETURNP(p) do { \
const void *p_ = (p); \
void *p_ = (p); \
if (p_ == NULL) \
openpam_log(PAM_LOG_DEBUG, "returning NULL"); \
else \