Implement strdupnull() macro as static inline function.
authorTobias Brunner <tobias@strongswan.org>
Mon, 14 May 2012 16:04:09 +0000 (18:04 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 11 Jun 2012 15:33:30 +0000 (17:33 +0200)
commit753ca22f9c4f1e650fce3c0bed88e42fb28cc562
treea71542b97e478d219f890f7c85ed5b6f57fa6edd
parent7cce0e96f2b276e75634fc5437c6936f8713c487
Implement strdupnull() macro as static inline function.

This avoids compiler warnings if the argument is a const char*.
src/libstrongswan/utils.h