[BusyBox] [PATCH] Unnecessary dups
Glenn McGrath
bug1 at iinet.net.au
Tue Sep 14 17:28:41 UTC 2004
On Mon, 6 Sep 2004 17:37:55 -0300 (BRT)
Felipe Kellermann <stdfk at terra.com.br> wrote:
> No, we are wrong. It's OK with syslogd (RemoteHost) also.
Ive applied your patch, but without RemoteHost.
RemoteHost = optarg;
p = strchr(RemoteHost, ':');
if (p) {
*p = '\0';
}
It is modifying argv to seperate the host from the port.
I declared a few extra const's while i was there.
Glenn
More information about the busybox
mailing list