#endif
#include <netdissect-stdinc.h>
-
#include "netdissect.h"
+#include <string.h>
+#include <stdio.h>
#ifdef USE_LIBSMI
#include <smi.h>
#ifdef _WIN32
WORD wVersionRequested;
WSADATA wsaData;
+ int err;
/*
* Request Winsock 2.2; we expect Winsock 2.
* Clears the error buffer, and uses it so we don't get
* "unused argument" warnings at compile time.
*/
- snprintf(errbuf, errbuf_size, "");
+ strlcpy(errbuf, "", errbuf_size);
return (0);
}