Re: DHCP dbus name patch

On Sunday 05 February 2006 15:00, Christoph Brill wrote:
> Find attached a patch that replaces a hardcoded string by a define used
> at a different place.

-       if (strncmp (interface, "com.redhat.dhcp", 15))
+       if (strncmp (interface, DHCP_SERVICE_NAME, 15))

shouldn't it be strlen(DHCP_SERVICE_NAME) instead of the still static 15?


out of signatures

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