summaryrefslogtreecommitdiff
path: root/src/input/input_smb.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-04-19 01:54:11 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-04-19 01:54:11 +0200
commit95973431372272b749762591cd4b82fe7e587a84 (patch)
treeca727d5a952c9b00c717274bc632c1690e7bb98c /src/input/input_smb.c
parentdd702a3abc16986a2bbc3d3429fce1f621f94c0d (diff)
downloadxine-lib-95973431372272b749762591cd4b82fe7e587a84.tar.gz
xine-lib-95973431372272b749762591cd4b82fe7e587a84.tar.bz2
Replace xine_xcalloc usage with calloc, for the revisions transplanted from 1.2 series.
Diffstat (limited to 'src/input/input_smb.c')
-rw-r--r--src/input/input_smb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/input_smb.c b/src/input/input_smb.c
index cdabf410c..777b80b46 100644
--- a/src/input/input_smb.c
+++ b/src/input/input_smb.c
@@ -256,8 +256,8 @@ static xine_mrl_t **smb_class_get_dir (input_class_t *this_gen,
}
if ((dir = smbc_opendir(current_path_smb)) >= 0){
- xine_mrl_t *dir_files = (xine_mrl_t *) xine_xcalloc(MAXFILES, sizeof(xine_mrl_t));
- xine_mrl_t *norm_files = (xine_mrl_t *) xine_xcalloc(MAXFILES, sizeof(xine_mrl_t));
+ xine_mrl_t *dir_files = (xine_mrl_t *) calloc(MAXFILES, sizeof(xine_mrl_t));
+ xine_mrl_t *norm_files = (xine_mrl_t *) calloc(MAXFILES, sizeof(xine_mrl_t));
int num_dir_files=0;
int num_norm_files=0;
while ((pdirent = smbc_readdir(dir)) != NULL){