Remove the mount(8) advertisement, move the URL to the .spec file only.
[captive.git] / src / libcaptive / client / vfs.c
index 180f389..52cc0d4 100644 (file)
@@ -93,24 +93,6 @@ CaptiveVfsObject *captive_vfs_object;
        g_return_val_if_fail(captive_vfs_object_return!=NULL,GNOME_VFS_ERROR_BAD_PARAMETERS);
        g_return_val_if_fail(options!=NULL,GNOME_VFS_ERROR_BAD_PARAMETERS);
 
-#ifndef MAINTAINER_MODE
-       /* We are not sandboxing || we are the master */
-       if (!options->sandbox || (options->sandbox_server_argv || options->sandbox_server_ior)) {
-int fd;
-
-               /* Shameless advertisement: */
-               for (fd=2 /* STDERR */;fd>=1 /* STDOUT */;fd--) {
-                       if (isatty(fd)) {
-const gchar *msg="Captive NTFS v" VERSION ".  Check a new version at: http://www.jankratochvil.net/\n";
-
-                               /* Prevent: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result */
-                               if (strlen(msg)==write(fd,msg,strlen(msg)))
-                                       break;
-                               }
-                       }
-               }
-#endif /* !MAINTAINER_MODE */
-
        /* Here is the first initializaton point of parent in sandboxed mode. */
        captive_log_init(options);