diff options
author | Tim Potter <tpot@samba.org> | 2000-02-04 05:18:06 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2000-02-04 05:18:06 +0000 |
commit | ccbd936211d4bfc8687cef78405ae58127289d13 (patch) | |
tree | 8ba1e46459554c5562566025585c3e28e7df0243 /source/smbd/filename.c | |
parent | a2782097db258a164bf43d814e8832a27d0eb3f1 (diff) | |
download | samba-ccbd936211d4bfc8687cef78405ae58127289d13.tar.gz samba-ccbd936211d4bfc8687cef78405ae58127289d13.tar.xz samba-ccbd936211d4bfc8687cef78405ae58127289d13.zip |
Fix some compile warnings.
Diffstat (limited to 'source/smbd/filename.c')
-rw-r--r-- | source/smbd/filename.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/filename.c b/source/smbd/filename.c index 85055f676a8..b0c44d503a5 100644 --- a/source/smbd/filename.c +++ b/source/smbd/filename.c @@ -199,7 +199,7 @@ static void stat_cache_add( char *full_orig_name, char *orig_translated_path) * add it. */ - if (hash_elem = hash_lookup(&stat_cache, orig_name)) { + if ((hash_elem = hash_lookup(&stat_cache, orig_name))) { found_scp = (stat_cache_entry *)(hash_elem->value); if (strcmp((found_scp->names+found_scp->name_len+1), translated_path) == 0) { return; |