From a465f2803758fdf4fe018eaf1fcc8aabd0d2fd50 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 7 Apr 2008 18:13:46 +0200 Subject: [PATCH] Fix the build. --- modules/csync_smb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/csync_smb.c b/modules/csync_smb.c index b0d71d461f..2fb2526a1e 100644 --- a/modules/csync_smb.c +++ b/modules/csync_smb.c @@ -160,12 +160,12 @@ static int _closedir(csync_vio_method_t *dhandle) { } static csync_vio_file_stat_t *_readdir(csync_vio_method_handle_t *dhandle) { - smbc_dirent *dirent = NULL; + struct smbc_dirent *dirent = NULL; smb_dhandle_t *handle = NULL; handle = (smb_dhandle_t *) dhandle; - dirent = smbc_opendir(handle->dh); + dirent = smbc_readdir(handle->dh); return NULL; }