From d534e83c57feac9ebe115c565b5476d0f5160b7b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 28 Jan 2005 11:23:31 +0000 Subject: r5052: minor formatting fix (This used to be commit 4337901c1b38aaaf6cc09641ad51ff28e591b1f4) --- source4/lib/netif/interface.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'source4/lib/netif/interface.c') diff --git a/source4/lib/netif/interface.c b/source4/lib/netif/interface.c index 9075d4f3ac..4f22095f7a 100644 --- a/source4/lib/netif/interface.c +++ b/source4/lib/netif/interface.c @@ -187,10 +187,10 @@ void load_interfaces(void) ptr = lp_interfaces(); mem_ctx = talloc_init("load_interfaces"); - if (!mem_ctx) { - DEBUG(2,("no memory to load interfaces \n")); + if (!mem_ctx) { + DEBUG(2,("no memory to load interfaces \n")); return; - } + } allones_ip = interpret_addr2("255.255.255.255"); loopback_ip = interpret_addr2("127.0.0.1"); @@ -330,7 +330,6 @@ struct ipv4_addr *iface_n_bcast(int n) return NULL; } - /* these 3 functions return the ip/bcast/nmask for the interface most appropriate for the given ip address. If they can't find an appropriate interface they return the requested field of the -- cgit