+/* $OpenLDAP$ */
#include "portable.h"
#ifndef HAVE_SETPROCTITLE
va_start(ap, fmt);
-#ifdef HAVE_VSNPRINTF
buf[sizeof(buf) - 1] = '\0';
vsnprintf( buf, sizeof(buf)-1, fmt, ap );
-#elif HAVE_VPRINTF
- vsprintf( buf, fmt, ap ); /* hope it's not too long */
-#else
- /* use doprnt() */
- chokeme = "choke me! I don't have a doprnt() manual handy";
-#endif
va_end(ap);