Merge branch 'silc.1.1.branch' of silc repo
[runtime.git] / lib / silcutil / silcconfig.c
index f9fe84373974c0b054db7bfaee6d730d7191b180..0a9a34644f79cff40f3c040bba26aa2e100fe3a2 100644 (file)
@@ -4,7 +4,7 @@
 
   Author: Giovanni Giacobbi <giovanni@giacobbi.net>
 
-  Copyright (C) 2002 - 2006 Giovanni Giacobbi
+  Copyright (C) 2002 - 2008 Giovanni Giacobbi
 
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -16,9 +16,8 @@
   GNU General Public License for more details.
 
 */
-/* $Id$ */
 
-#include "silc.h"
+#include "silcruntime.h"
 
 /* limit debug logging verbosity */
 #if 0
@@ -274,7 +273,7 @@ SilcConfigFile *silc_config_open(const char *configfile)
   SilcUInt32 filelen;
   SilcConfigFile *ret;
 
-  if (!(buffer = silc_file_readfile(configfile, &filelen)))
+  if (!(buffer = silc_file_readfile(configfile, &filelen, NULL)))
     return NULL;
 
   ret = silc_calloc(1, sizeof(*ret));