summaryrefslogtreecommitdiff
path: root/source3/smbd/filename.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-02-04 05:18:06 +0000
committerTim Potter <tpot@samba.org>2000-02-04 05:18:06 +0000
commit3b6298b001467ff3d700624cf2bae5b1dc963a4c (patch)
tree4e6353eac70f9eb8c340a23bc82fb35b1370c1cb /source3/smbd/filename.c
parent1546a4c683da043af4796acf47dd109c778e2e8a (diff)
downloadsamba-3b6298b001467ff3d700624cf2bae5b1dc963a4c.tar.gz
samba-3b6298b001467ff3d700624cf2bae5b1dc963a4c.tar.bz2
samba-3b6298b001467ff3d700624cf2bae5b1dc963a4c.zip
Fix some compile warnings.
(This used to be commit ccbd936211d4bfc8687cef78405ae58127289d13)
Diffstat (limited to 'source3/smbd/filename.c')
-rw-r--r--source3/smbd/filename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index 85055f676a..b0c44d503a 100644
--- a/source3/smbd/filename.c
+++ b/source3/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;