gvfs r2097 - in trunk: . daemon



Author: otte
Date: Mon Nov 17 13:01:35 2008
New Revision: 2097
URL: http://svn.gnome.org/viewvc/gvfs?rev=2097&view=rev

Log:
* daemon/gvfsbackendftp.c: (ftp_connection_parse_features):
use g_ascii_is_space() (thanks Wouter)


Modified:
   trunk/ChangeLog
   trunk/daemon/gvfsbackendftp.c

Modified: trunk/daemon/gvfsbackendftp.c
==============================================================================
--- trunk/daemon/gvfsbackendftp.c	(original)
+++ trunk/daemon/gvfsbackendftp.c	Mon Nov 17 13:01:35 2008
@@ -23,7 +23,6 @@
 
 #include <config.h>
 
-#include <ctype.h>
 #include <errno.h> /* for strerror (EAGAIN) */
 #include <stdio.h>
 #include <stdlib.h>
@@ -666,7 +665,7 @@
       /* There should just be one space according to RFC2389, but some
        * servers have more so we deal with any number of leading spaces.
        */
-      while (isspace (feature[0]))
+      while (g_ascii_isspace (feature[0]))
         feature++;
 
       /* strip off trailing '\r', if it exists. */



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