X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fcups.git;a=blobdiff_plain;f=scheduler%2Fconf.c;h=e7d64858a37e1fd9b0f667ce88500666109deeb3;hp=7965c70dccbf1b24cee9794e241fcae6338b14e2;hb=e1d6a77454308ff30d6da778be9d7b570e4f00b0;hpb=480ef0fe29ab803f49dd87a7a21a6c61648539b8 diff --git a/scheduler/conf.c b/scheduler/conf.c index 7965c70dc..e7d64858a 100644 --- a/scheduler/conf.c +++ b/scheduler/conf.c @@ -1,5 +1,5 @@ /* - * "$Id: conf.c 5235 2006-03-06 13:02:23Z mike $" + * "$Id: conf.c 5289 2006-03-14 11:54:45Z mike $" * * Configuration routines for the Common UNIX Printing System (CUPS). * @@ -785,6 +785,8 @@ cupsdReadConfiguration(void) cupsdLogMessage(CUPSD_LOG_ERROR, "Default policy \"%s\" not found!", DefaultPolicy); + cupsdSetString(&DefaultPolicy, "default"); + if ((DefaultPolicyPtr = cupsdFindPolicy("default")) != NULL) cupsdLogMessage(CUPSD_LOG_INFO, "Using policy \"default\" as the default!"); @@ -3237,5 +3239,5 @@ read_policy(cups_file_t *fp, /* I - Configuration file */ /* - * End of "$Id: conf.c 5235 2006-03-06 13:02:23Z mike $". + * End of "$Id: conf.c 5289 2006-03-14 11:54:45Z mike $". */