privacy patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here's patch to fix some settaskinfo inconsistencies.  It's against 2.3.2.1
of course.
-- 
Debian GNU/Linux 1.3 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
Index: nntpcache.c
===================================================================
RCS file: /home/greathan/herbert/src/CVS/debian/nntpcache/src/nntpcache.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- nntpcache.c	1998/02/15 05:06:27	1.1
+++ nntpcache.c	1998/05/06 07:54:54	1.2
@@ -976,7 +976,7 @@
 	    char buf [MAX_CMD];
 	    alarm(con->idleTimeout);
 	    flush ();	/* required! */
-	    settaskinfo("%s [%s]: waiting for input", ClientHost, CurrentGroup);
+	    settaskinfo("%s [%s]: waiting for input", ClientHost, (*CurrentGroup && Task->ti_state == nc_client && con->taskInfoPrivacy)? "private": CurrentGroup);
 	    drop_idle_servers();
 	    
 	    if (!Get (buf, sizeof buf))


[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux