about summary refs log tree commit diff stats
path: root/src/LYReadCFG.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYReadCFG.c')
-rw-r--r--src/LYReadCFG.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LYReadCFG.c b/src/LYReadCFG.c
index afdfbd77..dacdc65d 100644
--- a/src/LYReadCFG.c
+++ b/src/LYReadCFG.c
@@ -1294,7 +1294,7 @@ PRIVATE void do_read_cfg ARGS5(
     /*
      *	Process each line in the file.
      */
-    while ((buffer = LYSafeGets(buffer, fp)) != 0) {
+    while (LYSafeGets(&buffer, fp) != 0) {
 	char *name, *value;
 	char *cp;
 	Config_Type *tbl;