From 473f82052a23435bc50d534c5cc69e2aa408369a Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 19 Jun 2001 21:28:02 +0000 Subject: [PATCH] Reset the program name back to "spong-server (query)" after handling an incoming connection. Done so we don't get entries in the process table saying they're handling a connection from somebody when they really aren't. --- src/spong-server.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/spong-server.pl b/src/spong-server.pl index ceade75..3c7a23b 100755 --- a/src/spong-server.pl +++ b/src/spong-server.pl @@ -6,7 +6,7 @@ # There are one or more update processes that listen for status updates # from client programs. -# $Id: spong-server.pl,v 1.42 2001/06/19 21:24:32 supermathie Exp $ +# $Id: spong-server.pl,v 1.43 2001/06/19 21:28:02 supermathie Exp $ use lib "@@LIBDIR@@"; @@ -419,6 +419,7 @@ sub listen_for_queries { &debug( "query server socket setup, listening for connections" ); while( 1 ) { + $0 = "spong-server (query)"; # Update the service list from the database every 15 minutes if ( time() >= $next_update ) { debug("Scanning for stale data to convert to purple status",5); -- 2.30.2