mirror of
https://github.com/samba-team/samba.git
synced 2025-01-15 23:24:37 +03:00
reverted incorrect patch
This commit is contained in:
parent
8eb4277b12
commit
96224fe2d4
@ -748,14 +748,16 @@ static void dopr_outch(char *buffer, size_t *currlen, size_t maxlen, char c)
|
|||||||
(*currlen)++;
|
(*currlen)++;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(HAVE_VSNPRINTF) && !defined(HAVE_C99_VSNPRINTF)
|
/* yes this really must be a ||. Don't muck wiith this (tridge) */
|
||||||
|
#if !defined(HAVE_VSNPRINTF) || !defined(HAVE_C99_VSNPRINTF)
|
||||||
int vsnprintf (char *str, size_t count, const char *fmt, va_list args)
|
int vsnprintf (char *str, size_t count, const char *fmt, va_list args)
|
||||||
{
|
{
|
||||||
return dopr(str, count, fmt, args);
|
return dopr(str, count, fmt, args);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(HAVE_SNPRINTF) && !defined(HAVE_C99_SNPRINTF)
|
/* yes this really must be a ||. Don't muck wiith this (tridge) */
|
||||||
|
#if !defined(HAVE_SNPRINTF) || !defined(HAVE_C99_SNPRINTF)
|
||||||
int snprintf(char *str,size_t count,const char *fmt,...)
|
int snprintf(char *str,size_t count,const char *fmt,...)
|
||||||
{
|
{
|
||||||
size_t ret;
|
size_t ret;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user