Fixed 'options->sandbox' indication of sandbox slave.
authorshort <>
Fri, 19 Sep 2003 14:26:53 +0000 (14:26 +0000)
committershort <>
Fri, 19 Sep 2003 14:26:53 +0000 (14:26 +0000)
src/libcaptive/sandbox/server-Vfs.c

index 7f4048f..b42538e 100644 (file)
@@ -153,7 +153,9 @@ struct captive_options_module *options_module;
                options_captive.load_module=g_list_append(options_captive.load_module,options_module);
                }
 
+       options_captive.sandbox=TRUE;
        g_assert(options_captive.sandbox_server_argv==NULL);
+       g_assert(options_captive.sandbox_server_ior==NULL);
 
        if (GNOME_VFS_OK!=(errvfsresult=captive_vfs_new(&servant->captive_vfs_object,&options_captive))) {
                CORBA_exception_set(ev,CORBA_USER_EXCEPTION,ex_Captive_GnomeVFSResultException,GINT_TO_POINTER((gint)errvfsresult));