summaryrefslogtreecommitdiff
path: root/net/tcpview/files/patch-hex.c
blob: 39bec83cfd61d964177e6688f59ab9fe4acf5cda (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- hex.c.orig	1993-04-22 20:40:04 UTC
+++ hex.c
@@ -85,6 +85,7 @@ char *readline(buf)
   char *s;
 
   do {
+#define gets(a) gets_s(a,sizeof(a))
     if( gets(str) == NULL )
       return NULL;
     if( *str != '\t' && *str != ' ' && PrintFrames )