diff options
Diffstat (limited to 'gvfs/gvfs.c')
| -rw-r--r-- | gvfs/gvfs.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gvfs/gvfs.c b/gvfs/gvfs.c index 55e0d9b..7b15b5e 100644 --- a/gvfs/gvfs.c +++ b/gvfs/gvfs.c @@ -31,8 +31,8 @@ -#define VERSION "0.1.9" -#define BUILD_DATE "2009-10-24" +#define VERSION "0.1.10" +#define BUILD_DATE "2009-10-25" #define DEFAULT_BLOCK_SIZE 0x10000 /* 64kB */ #define CONST_DEFAULT_QUERY_INFO_ATTRIBUTES G_FILE_ATTRIBUTE_STANDARD_TYPE "," G_FILE_ATTRIBUTE_STANDARD_NAME "," \ @@ -387,7 +387,7 @@ VFSGetNetworkServices () } TVFSResult -VFSOpen (struct TVFSGlobs *globs, char *sName) +VFSOpenURI (struct TVFSGlobs *globs, char *sURI) { GFile *f, *f2; GFileInfo *info; @@ -397,13 +397,13 @@ VFSOpen (struct TVFSGlobs *globs, char *sName) globs->file = NULL; globs->ftp_anonymous = FALSE; - if (strstr (sName, "@") == NULL) { + if (strstr (sURI, "@") == NULL) { /* test for FTP protocol (we only enable anonymous here) */ - globs->ftp_anonymous = strcasestr (sName, "ftp://") == sName; + globs->ftp_anonymous = strcasestr (sURI, "ftp://") == sURI; } - g_print ("(II) VFSOpen: opening URI '%s'\n", sName); - f = g_file_new_for_commandline_arg (sName); + g_print ("(II) VFSOpenURI: opening URI '%s'\n", sURI); + f = g_file_new_for_commandline_arg (sURI); while (1) { error = NULL; @@ -432,7 +432,7 @@ VFSOpen (struct TVFSGlobs *globs, char *sName) } /* Any other errors --> report */ if (error) { - g_print ("(EE) VFSOpen: g_file_query_info() error: %s\n", error->message); + g_print ("(EE) VFSOpenURI: g_file_query_info() error: %s\n", error->message); res = g_error_to_TVFSResult (error); g_error_free (error); g_object_unref (f); |
