1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

r7172: This is the proper fix for setting file times from libsmbclient. We now

try setpathinfo, and if that doesn't work (e.g. on win98), revert to the
previous slower method.
(This used to be commit 6c05812bd9)
This commit is contained in:
Derrell Lipman
2005-06-01 20:17:16 +00:00
committed by Gerald (Jerry) Carter
parent e317034997
commit f3ad9323c6
4 changed files with 244 additions and 86 deletions

View File

@ -102,7 +102,7 @@ static int smbc_add_cached_server(SMBCCTX * context, SMBCSRV * new,
/*
* Search the server cache for a server
* returns server_fd on success, -1 on error (not found)
* returns server handle on success, NULL on error (not found)
* This function is only used if the external cache is not enabled
*/
static SMBCSRV * smbc_get_cached_server(SMBCCTX * context, const char * server,