summaryrefslogtreecommitdiffstats
path: root/plugins/snprintf.c
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2002-11-09 03:16:14 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2002-11-09 03:16:14 (GMT)
commitd3af657e468065dcbae73e6a7289f7090822bacd (patch)
tree1905b2add1ad9e20328fdeff9065f716d117cee3 /plugins/snprintf.c
parent4f45392acb8e67e86b92b3707eba49ef9aeee574 (diff)
downloadmonitoring-plugins-d3af657e468065dcbae73e6a7289f7090822bacd.tar.gz
HAVE_C99_SNPRINTF is not tested, so remove from ifdef
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@177 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/snprintf.c')
-rw-r--r--plugins/snprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/snprintf.c b/plugins/snprintf.c
index ef1d254..3de2a96 100644
--- a/plugins/snprintf.c
+++ b/plugins/snprintf.c
@@ -789,7 +789,7 @@ static void dopr_outch(char *buffer, size_t *currlen, size_t maxlen, char c)
789 * these should really be smb_snprintf to avoid conflicts with buggy 789 * these should really be smb_snprintf to avoid conflicts with buggy
790 * linkers? -- mbp 790 * linkers? -- mbp
791 */ 791 */
792#if !defined(HAVE_SNPRINTF) || !defined(HAVE_C99_SNPRINTF) 792#if !defined(HAVE_SNPRINTF) /* || !defined(HAVE_C99_SNPRINTF) */
793 int snprintf(char *str,size_t count,const char *fmt,...) 793 int snprintf(char *str,size_t count,const char *fmt,...)
794{ 794{
795 size_t ret; 795 size_t ret;