summaryrefslogtreecommitdiff
path: root/news/newsx/files/patch-aw
blob: 44931077c2c09bb8796b24001c4e52a204908691 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- src/telnet.c.orig	Wed Mar 31 07:53:46 1999
+++ src/telnet.c	Mon Feb 12 21:31:37 2001
@@ -6,6 +6,9 @@
  *  the GNU General Public License applies
  *
  *  $Log: telnet.c,v $
+ *  Revision x.xx  2001/02/11
+ *  Use xmalloc and xrealloc from libinn.h (<thierry@thomas.as>)
+ *
  *  Revision 1.9  1999/03/31 05:53:46  src
  *  Seperated MAXHEADERSIZE from NNTP_STRLEN
  *
@@ -26,6 +29,7 @@
 #include "proto.h"
 #include "nntp.h"
 #include "news.h" /* MAXHEADERSIZE */
+#include "libinn.h"
 
 #include <signal.h>
 #include <setjmp.h>
@@ -161,7 +165,7 @@
     static int buf_m = 0;
     static int not_first_time = 0;
 
-    if (!buf) buf = xmalloc(MAXHEADERSIZE);
+    if (!buf) buf = xmalloc(MAXHEADERSIZE,"telnet.c",168);
 
     if (!not_first_time) {
 	not_first_time = 1;