From 7895b91743702497efc179a4fe30808e49c67977 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 3 Jul 2009 16:59:59 +0200 Subject: udhcp: dname_dec may return NULL, account for that case Other random cleanips included... Signed-off-by: Denys Vlasenko --- networking/udhcp/clientpacket.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'networking/udhcp/clientpacket.c') diff --git a/networking/udhcp/clientpacket.c b/networking/udhcp/clientpacket.c index 21c1a7bd5..84a6765ee 100644 --- a/networking/udhcp/clientpacket.c +++ b/networking/udhcp/clientpacket.c @@ -166,7 +166,7 @@ int FAST_FUNC send_select(uint32_t xid, uint32_t server, uint32_t requested) } -/* Unicasts or broadcasts a DHCP renew message */ +/* Unicast or broadcast a DHCP renew message */ int FAST_FUNC send_renew(uint32_t xid, uint32_t server, uint32_t ciaddr) { struct dhcp_packet packet; @@ -186,7 +186,7 @@ int FAST_FUNC send_renew(uint32_t xid, uint32_t server, uint32_t ciaddr) } -/* Unicasts a DHCP release message */ +/* Unicast a DHCP release message */ int FAST_FUNC send_release(uint32_t server, uint32_t ciaddr) { struct dhcp_packet packet; -- cgit v1.2.3