gvfs r1686 - in trunk: . client
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: gvfs r1686 - in trunk: . client
- Date: Fri, 28 Mar 2008 08:13:01 +0000 (GMT)
Author: alexl
Date: Fri Mar 28 08:13:01 2008
New Revision: 1686
URL: http://svn.gnome.org/viewvc/gvfs?rev=1686&view=rev
Log:
2008-03-28  Alexander Larsson  <alexl redhat com>
	* client/gdaemonfileenumerator.c (g_daemon_file_enumerator_next_file):
	Actually increment count so that timeouts works.
	Pointed out by Joe Marcus Clarke
Modified:
   trunk/ChangeLog
   trunk/client/gdaemonfileenumerator.c
Modified: trunk/client/gdaemonfileenumerator.c
==============================================================================
--- trunk/client/gdaemonfileenumerator.c	(original)
+++ trunk/client/gdaemonfileenumerator.c	Fri Mar 28 08:13:01 2008
@@ -201,7 +201,7 @@
   info = NULL;
   done = FALSE;
   count = 0;
-  while (count < G_VFS_DBUS_TIMEOUT_MSECS / 100)
+  while (count++ < G_VFS_DBUS_TIMEOUT_MSECS / 100)
     {
       G_LOCK (infos);
       if (daemon->infos)
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]