summaryrefslogtreecommitdiff
path: root/net/netatalk/patches/patch-ag
blob: 391c830888a611e23a3a46a3f696fb4e3abf5be4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ag,v 1.2 1999/08/31 22:09:43 wrstuden Exp $

--- etc/papd/session.c	Wed Sep 23 07:15:11 1998
+++ etc/papd/session.c	Mon Aug 30 06:47:42 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;