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