summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-28 09:05:44 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-28 09:05:44 +0000
commitf83f0cb0605368387358782179460ca4d75a9541 (patch)
tree15a6dfc08d89803264ca62371c617afa0550b740 /source4/lib
parent7ec0ead48a6e7b770d04802fb8248c1240cd0787 (diff)
downloadsamba-f83f0cb0605368387358782179460ca4d75a9541.tar.gz
samba-f83f0cb0605368387358782179460ca4d75a9541.tar.bz2
samba-f83f0cb0605368387358782179460ca4d75a9541.zip
fixed some warnings
(This used to be commit 1c2b8a93c50e3d5485732a2f06847166e883f939)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/module.c b/source4/lib/module.c
index d45f99473e..c6c4ef6979 100644
--- a/source4/lib/module.c
+++ b/source4/lib/module.c
@@ -44,7 +44,7 @@ NTSTATUS smb_load_module(const char *module_name)
* want to use wildcards here? */
if(S_ISDIR(st.st_mode)) {
dir = opendir(module_name);
- while(dirent = readdir(dir)) {
+ while ((dirent = readdir(dir))) {
smb_load_module(dirent->d_name);
}
}