Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37565196
en ru br
ALT Linux repositórios
S:2.24.4-alt12
5.0: 2.24.1-alt1
4.1: 2.22.0-alt1.1
4.0: 2.16.3-alt3
3.0: 1.0.5-alt7.1

Group :: Sistema/Bibliotecas
RPM: gnome-vfs

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: 0002-dont-use-smbc_remove_unused_server.patch
Download


From 120ab4e1fe400d4fb9b8202f0eee10b5b1f493fd Mon Sep 17 00:00:00 2001
From: Yann Rouillard <yann@pleiades.fr.eu.org>
Date: Fri, 29 Jun 2012 00:42:48 +0200
Subject: [PATCH] Don't use the anymore the smbc_remove_unused_server
 deprecated function
---
 modules/smb-method.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/smb-method.c b/modules/smb-method.c
index 42d6c78..e6bb59e 100644
--- a/modules/smb-method.c
+++ b/modules/smb-method.c
@@ -328,7 +328,7 @@ cache_reap_cb (void)
 	g_hash_table_foreach (server_cache, add_old_servers, servers);
 		
 	for (i = 0; i < servers->len; i++) {
-		smbc_remove_unused_server (smb_context,
+		smbc_getFunctionRemoveUnusedServer(smb_context) (smb_context,
 					   (SMBCSRV *)g_ptr_array_index (servers, i));
 	}
 
@@ -491,7 +491,7 @@ purge_cached(SMBCCTX * context)
 		
 	could_not_purge_all = FALSE;
 	for (i = 0; i < servers->len; i++) {
-		if (smbc_remove_unused_server(context,
+		if (smbc_getFunctionRemoveUnusedServer(context)(context,
 					      (SMBCSRV *)g_ptr_array_index (servers, i))) {
 			/* could not be removed */
 			could_not_purge_all = TRUE;
-- 
1.7.10.3
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009