#include "auth.h"
#include "uam_auth.h"
-#ifdef AFP3x
#define utf8_encoding() (afp_version >= 30)
-#else
-#define utf8_encoding() (0)
-#endif
#ifdef TRU64
#include <netdb.h>
{
struct DSI *dsi = obj->handle;
const struct sockaddr *sa;
- char hbuf[NI_MAXHOST];
+ static char hbuf[NI_MAXHOST];
sa = (struct sockaddr *)&dsi->client;
if (getnameinfo(sa, sizeof(dsi->client), hbuf, sizeof(hbuf), NULL, 0, 0) == 0)