pkgsrc/comms/modemd/patches/patch-ac
1998-08-07 10:35:47 +00:00

21 lines
541 B
Text

$NetBSD: patch-ac,v 1.2 1998/08/07 10:36:44 agc Exp $
--- incoming/ppp.c.orig Tue Sep 10 02:35:12 1996
+++ incoming/ppp.c Tue Mar 3 17:19:05 1998
@@ -46,6 +46,7 @@
#include "mcap.h"
#include <sys/time.h>
#include <signal.h>
+#include <stdlib.h>
#define EOF -1
@@ -125,7 +126,7 @@
if (!lbuf)
error ("Can't allocate space for login string.\n");
strcpy (lbuf, modemcap.program);
- strcat (lbuf, " ");
+ strcat (lbuf, " -- ");
strcat (lbuf, (char *)ibuf);
modemcap.program = lbuf;
return;