Avoid preprocessor directives in macro arguments
authorIain Hibbert <plunky@rya-online.net>
Sun, 27 Feb 2011 16:59:26 +0000 (18:59 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 27 Feb 2011 16:59:26 +0000 (18:59 +0200)
commit8ce58ceb250f101ee66682a4149cc652a30a74da
treeef8506ff01f84436fcaee8db0f0b6fad154d5189
parent73304dbf65c3da859b1c51e6be32457e9ec9932d
Avoid preprocessor directives in macro arguments

os_snprintf() can be a preprocessor macro and according to
C99 (6.10.3 clause 11) the results of having preprocessor directives
inside the macro arguments is undefined.
src/ap/wpa_auth.c