aboutsummaryrefslogtreecommitdiff
path: root/src/ldif.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-08 07:07:19 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-08 07:07:19 +0000
commite5c03181ba3cd06f27e10677960575e44e7900a6 (patch)
treecfa341f7b9c46b2c7b692e11def79e72622152ab /src/ldif.c
parent38ad5762fb87ec8278108d4a8d06e32612e64a13 (diff)
added wrappers for C library function that take pathname arguments.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@478 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/ldif.c')
-rw-r--r--src/ldif.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ldif.c b/src/ldif.c
index 39a4055a..eccb306a 100644
--- a/src/ldif.c
+++ b/src/ldif.c
@@ -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;