+2001-11-05 Ezra Peisach <epeisach@mit.edu>
+
+ * sclient.c (main): Use GETSOCKNAME_ARG3_TYPE instead of int.
+
2001-01-30 Ezra Peisach <epeisach@mit.edu>
* sclient.c (main): Do not free auth_context unless
#include "../sample.h"
+#ifndef GETSOCKNAME_ARG3_TYPE
+#define GETSOCKNAME_ARG3_TYPE int
+#endif
+
int
main(argc, argv)
int argc;
struct servent *sp;
struct hostent *hp;
struct sockaddr_in sockin, lsockin;
- int sock, namelen;
+ int sock;
+ GETSOCKNAME_ARG3_TYPE namelen;
krb5_context context;
krb5_data recv_data;
krb5_data cksum_data;