diff options
author | Derrell Lipman <derrell@samba.org> | 2005-06-01 20:17:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:57:04 -0500 |
commit | f3ad9323c62860107ad222a0014d6e661aee42f3 (patch) | |
tree | cd2af79cd9ad1f5502175add8526ca3c3c64cafc /source3/libsmb/libsmb_cache.c | |
parent | e317034997bbeab447298070afdb1b78c60e0e69 (diff) | |
download | samba-f3ad9323c62860107ad222a0014d6e661aee42f3.tar.gz samba-f3ad9323c62860107ad222a0014d6e661aee42f3.tar.bz2 samba-f3ad9323c62860107ad222a0014d6e661aee42f3.zip |
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 6c05812bd90b0db69d974ee2758721dc2974a507)
Diffstat (limited to 'source3/libsmb/libsmb_cache.c')
-rw-r--r-- | source3/libsmb/libsmb_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/libsmb_cache.c b/source3/libsmb/libsmb_cache.c index dabf5a527d..de9a1656d8 100644 --- a/source3/libsmb/libsmb_cache.c +++ b/source3/libsmb/libsmb_cache.c @@ -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, |