Sophie

Sophie

distrib > Mageia > 2 > i586 > media > core-release-src > by-pkgid > 2b363aae8e38b25f9edaf0de1b493f79 > files > 12

netcat-traditional-1.10-35.mga1.src.rpm

Summary: Remove extraneous sleep and "punt!" message.
Contributor: Alessandro Rubini <rubini@prosa.it>

Index: netcat-1.10/netcat.c
===================================================================
--- netcat-1.10.orig/netcat.c	2006-03-24 12:26:36.000000000 -0500
+++ netcat-1.10/netcat.c	2006-03-24 12:26:37.000000000 -0500
@@ -226,7 +226,6 @@
   o_verbose = 1;
   holler (str, p1, p2, p3, p4, p5, p6);
   close (netfd);
-  sleep (1);
   exit (1);
 } /* bail */
 
@@ -237,7 +236,7 @@
   errno = 0;
   if (o_verbose > 1)		/* normally we don't care */
     bail (wrote_txt, wrote_net, wrote_out);
-  bail (" punt!");
+  bail ("");
 }
 
 /* timeout and other signal handling cruft */