X-Git-Url: https://the.earth.li/gitweb/?p=onak.git;a=blobdiff_plain;f=onak-conf.c;h=7b8a2e3d6b1eb32ddb0bd908c96fbda7244ab756;hp=8925dbcb6a970d94ae5ab7a12a6865ff182d1c71;hb=eb94eab34a0893fb5b8f78652f338df85f492a9b;hpb=f869498b2b159bd3d363fb2f9d803b99c44de8bc diff --git a/onak-conf.c b/onak-conf.c index 8925dbc..7b8a2e3 100644 --- a/onak-conf.c +++ b/onak-conf.c @@ -391,6 +391,12 @@ void readconfig(const char *configfile) { conffile = fopen(configfile, "r"); } + if (oldstyle) { + logthing(LOGTHING_CRITICAL, "Reading deprecated old-style " + "configuration file. This will not be " + "supported in the next release."); + } + if (conffile != NULL) { if (!fgets(curline, 1023, conffile)) { logthing(LOGTHING_CRITICAL,