[patch] small fix.



Dan,

Attached patch provides a small fix (at least, I presume that the
semicolon is not supposed to be there).

	Robert Love

 NetworkManagerDevice.c |    2 +-
 nm-netlink-monitor.c   |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff -u -r1.136 NetworkManagerDevice.c
--- src/NetworkManagerDevice.c	10 Jun 2005 03:47:47 -0000	1.136
+++ src/NetworkManagerDevice.c	14 Jun 2005 18:04:22 -0000
@@ -2540,7 +2541,7 @@
 	nm_info ("Activation (%s) Stage 2 (Device Configure) starting...", nm_device_get_iface (dev));
 
 	/* Bring the device up */
-	if (!nm_device_is_up (dev));
+	if (!nm_device_is_up (dev))
 		nm_device_bring_up (dev);
 
 	if (nm_device_activation_should_cancel (dev))
Index: src/nm-netlink-monitor.c
===================================================================
RCS file: /cvs/gnome/NetworkManager/src/nm-netlink-monitor.c,v
retrieving revision 1.7
diff -u -r1.7 nm-netlink-monitor.c
--- src/nm-netlink-monitor.c	5 May 2005 23:30:59 -0000	1.7
+++ src/nm-netlink-monitor.c	14 Jun 2005 18:04:22 -0000
@@ -612,6 +612,7 @@
 	 */
 	num_bytes_to_process = (guint) num_received_bytes;
 
+	/* FIXME: This cannot be true */
 	if (num_bytes_to_process < 0)
 		return TRUE;
 


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