/* Open file */
if ((handle = fopen(filename, "r")) == NULL) {
#ifdef DEBUG
- fprintf( stderr, "CFG_ReadFile - open %s: %s\n", filename, strerror(errno));
+// fprintf( stderr, "CFG_ReadFile - open %s: %s\n", filename, strerror(errno));
#endif /* DEBUG */
return NULL;
}
cfg_info = heading;
#ifdef DEBUG
- fprintf(stderr, "Added new section %s\n", heading->section);
+// fprintf(stderr, "Added new section %s\n", heading->section);
#endif
/* Go on to next line */
cfg_info->entries = entry;
#ifdef DEBUG
- fprintf(stderr, "Adding key/value %s/%s\n", entry->key, entry->value);
+// fprintf(stderr, "Adding key/value %s/%s\n", entry->key, entry->value);
#endif
/* Go on to next line */
continue;
if ((cfg_info = CFG_ReadFile("/etc/gnokiirc")) == NULL) {
/* That failed too so exit */
#ifdef DEBUG
- fprintf(stderr, _("Couldn't open %s or /etc/gnokiirc. Using defaults...\n"), rcfile);
+// fprintf(stderr, _("Couldn't open %s or /etc/gnokiirc. Using defaults...\n"), rcfile);
#endif /* DEBUG */
return NULL;
}
if ((cfg_info = CFG_ReadFile("gnokiirc")) == NULL) {
/* That failed too so exit */
#ifdef DEBUG
- fprintf(stderr, _("Couldn't open %s or gnokiirc. Using defaults...\n"), rcfile);
+// fprintf(stderr, _("Couldn't open %s or gnokiirc. Using defaults...\n"), rcfile);
#endif /* DEBUG */
return NULL;
}