gnome-volume-manager r1301 - in trunk: . src



Author: fejj
Date: Wed Jan 16 18:02:30 2008
New Revision: 1301
URL: http://svn.gnome.org/viewvc/gnome-volume-manager?rev=1301&view=rev

Log:
2008-01-16  Jeffrey Stedfast  <fejj novell com>

	* src/manager.c (gvm_autorun_prompt): Oops, fix a type-o in the
	strncmp logic.



Modified:
   trunk/ChangeLog
   trunk/src/manager.c

Modified: trunk/src/manager.c
==============================================================================
--- trunk/src/manager.c	(original)
+++ trunk/src/manager.c	Wed Jan 16 18:02:30 2008
@@ -1580,7 +1580,7 @@
 	*inptr++ = '\0';
 	
 	path = unix_path (mount_point, path);
-	if (strncmp (path, mount_point, strlen (mount_point) != 0)) {
+	if (strncmp (path, mount_point, strlen (mount_point)) != 0) {
 		/* not allowed */
 		g_free (value);
 		g_free (path);



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