[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] allow to read configuration from memory instead of a file
From: |
Bastien Nocera |
Subject: |
Re: [PATCH] allow to read configuration from memory instead of a file |
Date: |
Sun, 17 Apr 2005 15:49:44 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Pawel Kot <pkot <at> bezsensu.pl> writes:
> Sorry, I completly forgot about it. Now the patch (a bit modified) is in
> CVS, please give it a try.
Could you apply this patch on top as well? :)
Index: cfgreader.c
===================================================================
RCS file: /cvsroot/gnokii/gnokii/common/cfgreader.c,v
retrieving revision 1.56
diff -u -r1.56 cfgreader.c
--- cfgreader.c 10 Apr 2005 15:38:45 -0000 1.56
+++ cfgreader.c 17 Apr 2005 15:52:39 -0000
@@ -259,7 +259,6 @@
/* Free the split_lines */
for (i = 0; split_lines[i] != NULL; i++) {
- printf("%s\n", split_lines[i]);
free(split_lines[i]);
}
free(split_lines);
Cheers