Hi,

there seems to be a small typo in LPRng 3.6.22 (and I think in
3.6.23 as well):

----- cut ------------------------------------------------------------
--- LPRng-3.6.22/src/common/gethostinfo.c       Mon Jul 24 02:42:57 2000
+++ LPRng-3.6.22-patched/src/common/gethostinfo.c       Thu Aug 17 12:16:19 2000
@@ -589,7 +589,7 @@
                if( cval(str) == '@' ) {        /* look up host in netgroup */
 #ifdef HAVE_INNETGR
                        result = !innetgr( str+1, host->shorthost, NULL, NULL );
-                       if( !result ) result = !innetgr( str+1, host->fqdn, NULL, NULL 
);
+                       if( result ) result = !innetgr( str+1, host->fqdn, NULL, NULL 
+);
 #else /* HAVE_INNETGR */
                        DEBUGF(DDB3)("match: no innetgr() call, netgroups not 
permitted");
 #endif /* HAVE_INNETGR */
----- cut ------------------------------------------------------------

Robin

-- 
Robin Sommer          * private      05251/65041 * work           05251/60-3322
Univers. of Paderborn * [EMAIL PROTECTED] * [EMAIL PROTECTED]


-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to