summaryrefslogtreecommitdiff
path: root/net/netatalk/patches/patch-aw
blob: 110283137bedaae4daba6ff4190fd287eac9b72b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-aw,v 1.3 1999/02/23 22:33:20 wrstuden Exp $
--- etc/papd/session.c.orig	Fri Jan  1 15:05:42 1999
+++ etc/papd/session.c	Tue Feb 23 14:28:50 1999
@@ -3,6 +3,7 @@
  * All Rights Reserved.  See COPYRIGHT.
  */
 
+#include <string.h>
 #include <sys/types.h>
 #include <sys/syslog.h>
 #include <sys/time.h>
@@ -53,7 +54,7 @@
     fd_set		fds;
     char		cbuf[ 578 ];
     int			i, cc, timeout = 0, readpending = 0;
-    u_short		seq = 1, rseq = 1, netseq;
+    u_short		seq = 0, rseq = 1, netseq;
     u_char		readport;
 
     infile.pf_state = PF_BOT;