Code

HAVE_C99_SNPRINTF is not tested, so remove from ifdef
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>
Sat, 9 Nov 2002 03:16:14 +0000 (03:16 +0000)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>
Sat, 9 Nov 2002 03:16:14 +0000 (03:16 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@177 f882894a-f735-0410-b71e-b25c423dba1c

plugins/snprintf.c

index ef1d2543e6e5fde601ab55b4aa6a11579f424db0..3de2a96f8f09a55c2944f7b0f00b201718033177 100644 (file)
@@ -789,7 +789,7 @@ static void dopr_outch(char *buffer, size_t *currlen, size_t maxlen, char c)
  * these should really be smb_snprintf to avoid conflicts with buggy
  * linkers? -- mbp
  */
-#if !defined(HAVE_SNPRINTF) || !defined(HAVE_C99_SNPRINTF)
+#if !defined(HAVE_SNPRINTF) /* || !defined(HAVE_C99_SNPRINTF) */
  int snprintf(char *str,size_t count,const char *fmt,...)
 {
        size_t ret;