[PATCH] portmap: new applet

Rich Felker dalias at aerifal.cx
Mon May 2 13:12:12 UTC 2011


On Mon, May 02, 2011 at 11:28:22AM +0200, Stefan Seyfried wrote:
> On Sun, 1 May 2011 18:13:34 -0400
> Rich Felker <dalias at aerifal.cx> wrote:
> 
> > > > +	char *host = (char *)"0.0.0.0";
> > 
> > This cast is a no-op. 
> 
> I think it's not. "0.0.0.0" is a (const char *) IIUC.

Well you remember incorrectly. C is not C++.

Rich


More information about the busybox mailing list