Commit 57b1f720 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(main): use SOCKLEN_TYPE for fromlen, if it is defined.

parent db893d00
......@@ -206,7 +206,11 @@ main (argc, argv)
{
char system_name[32];
int s, infd;
#ifdef SOCKLEN_TYPE
SOCKLEN_TYPE fromlen;
#else
size_t fromlen;
#endif
struct sockaddr_un server, fromunix;
char *homedir;
char *str, string[BUFSIZ], code[BUFSIZ];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment