Excise snprintf -> slprintf.
[kai/samba.git] / source3 / lib / snprintf.c
index 18ef848c5ab6c126aff17837c26199374920181e..1a8c10afc404317c61565e6f6594473e3b797014 100644 (file)
@@ -804,6 +804,7 @@ static void dopr_outch (char *buffer, size_t *currlen, size_t maxlen, char c)
 }
 #endif /* !HAVE_VSNPRINTF */
 
 }
 #endif /* !HAVE_VSNPRINTF */
 
+#if 0 /* DONT USE SNPRINTF !!! */
 #ifndef HAVE_SNPRINTF
 /* VARARGS3 */
 #ifdef HAVE_STDARGS
 #ifndef HAVE_SNPRINTF
 /* VARARGS3 */
 #ifdef HAVE_STDARGS
@@ -827,7 +828,7 @@ static void dopr_outch (char *buffer, size_t *currlen, size_t maxlen, char c)
   VA_END;
   return(strlen(str));
 }
   VA_END;
   return(strlen(str));
 }
-
+#endif
 
 #else
  /* keep compilers happy about empty files */
 
 #else
  /* keep compilers happy about empty files */