diff options
Diffstat (limited to 'src/ldif.c')
-rw-r--r-- | src/ldif.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -32,6 +32,7 @@ #include "addrcache.h" #include "base64.h" +#include "utils.h" /* * Create new object. @@ -192,7 +193,7 @@ void ldif_print_file( LdifFile *ldifFile, FILE *stream ) { static gint ldif_open_file( LdifFile* ldifFile ) { /* printf( "Opening file\n" ); */ if( ldifFile->path ) { - ldifFile->file = fopen( ldifFile->path, "rb" ); + ldifFile->file = g_fopen( ldifFile->path, "rb" ); if( ! ldifFile->file ) { /* printf( "can't open %s\n", ldifFile->path ); */ ldifFile->retVal = MGU_OPEN_FILE; |