Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,6 @@
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H

/* Define to 1 if you have the `vsnprintf' function. */
#undef HAVE_VSNPRINTF

/* Define to 1 if you have the <wchar.h> header file. */
#undef HAVE_WCHAR_H

Expand Down
6 changes: 0 additions & 6 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -8335,12 +8335,6 @@ then :
printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h

fi
ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf"
if test "x$ac_cv_func_vsnprintf" = xyes
then :
printf "%s\n" "#define HAVE_VSNPRINTF 1" >>confdefs.h

fi



Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ AX_TYPE_SOCKLEN_T
AX_CREATE_STDINT_H([eggint.h])

# Checks for functions and their arguments.
AC_CHECK_FUNCS([clock_gettime dprintf explicit_bzero memset_explicit explicit_memset getrandom inet_aton memset_s snprintf strlcpy vsnprintf])
AC_CHECK_FUNCS([clock_gettime dprintf explicit_bzero memset_explicit explicit_memset getrandom inet_aton memset_s snprintf strlcpy])
AC_FUNC_SELECT_ARGTYPES
EGG_FUNC_B64_NTOP
AC_FUNC_MMAP
Expand Down
4 changes: 2 additions & 2 deletions src/botmsg.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void tandout_but(int x, const char *format, ...)

va_start(va, format);

len = egg_vsnprintf(s, sizeof s, format, va);
len = vsnprintf(s, sizeof s, format, va);
va_end(va);
if (len >= sizeof s) {
len = sizeof s - 1;
Expand Down Expand Up @@ -299,7 +299,7 @@ void botnet_send_priv (int idx, char *from, char *to, char *tobot, const char *f
va_list va;

va_start(va, format);
egg_vsnprintf(tbuf, 450, format, va);
vsnprintf(tbuf, 450, format, va);
va_end(va);
tbuf[sizeof(tbuf) - 1] = 0;

Expand Down
Loading
Loading