]> git.pld-linux.org Git - packages/ftpd-BSD.git/blob - ftpd-BSD-SA_LEN.patch
- caps unification
[packages/ftpd-BSD.git] / ftpd-BSD-SA_LEN.patch
1 --- ftpd-BSD-0.3.2/ftpd.c.orig  Thu Apr  5 16:45:08 2001
2 +++ ftpd-BSD-0.3.2/ftpd.c       Thu Apr  5 16:55:57 2001
3 @@ -300,6 +300,11 @@
4         }
5  #endif /* ORIGINAL_SOURCE */
6  
7 +#ifndef SA_LEN
8 +#define SA_LEN(x) (((x)->sa_family == AF_INET6) ? sizeof(struct sockaddr_in6) : \
9 +               (((x)->sa_family == AF_INET)?sizeof(struct sockaddr_in):sizeof(struct sockaddr)))
10 +#endif
11 +
12  static void     ack __P((char *));
13  static void     myoob __P((int));
14  static int      checkuser __P((char *, char *));
This page took 0.050646 seconds and 3 git commands to generate.