[Top][All Lists]

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

Re: [bug-inetutils] [patch] inetd: set environment variables for remote

From: Alfred M. Szmidt
Subject: Re: [bug-inetutils] [patch] inetd: set environment variables for remote host, ip and local port
Date: Fri, 28 Jul 2006 12:04:01 +0200 (CEST)

   Based on Dirk's patch, I have installed the following modifications
   to inetd. Passing the environment variables is enabled
   by --environment option. The TCP.*HOST variables are set only if the
   --resolve option has been specified. 

Wonderful Sergey!

(setq nitpicker-mode 't)

Please don't do assignments inside an if-statement; it is one of those
things indent isn't intelligent enough to fix.

   +      if (*p || (port = val) != val)
   +        {


   +      if ((host = gethostbyaddr ((char *) &sa_client.sin_addr,
   +                             sizeof (sa_client.sin_addr),
   +                             AF_INET)) == NULL)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]