gvfs r1875 - in trunk: . client



Author: jessevdk
Date: Thu Aug  7 20:41:13 2008
New Revision: 1875
URL: http://svn.gnome.org/viewvc/gvfs?rev=1875&view=rev

Log:
Fixed crash in gio because error was not properly
being set in the query_info noop


Modified:
   trunk/ChangeLog
   trunk/client/gdaemonfileoutputstream.c

Modified: trunk/client/gdaemonfileoutputstream.c
==============================================================================
--- trunk/client/gdaemonfileoutputstream.c	(original)
+++ trunk/client/gdaemonfileoutputstream.c	Thu Aug  7 20:41:13 2008
@@ -984,6 +984,12 @@
 
   file = G_DAEMON_FILE_OUTPUT_STREAM (stream);
 #endif
+  
+  g_set_error (error,
+               G_IO_ERROR,
+               G_IO_ERROR_NOT_SUPPORTED,
+               _("Query info not supported on stream"));
+
   return NULL;
 }
 



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