From: reddevillg Date: Fri, 10 Nov 2017 03:12:16 +0000 (+0800) Subject: consider loop detected to be success X-Git-Tag: v2.3b1~51^2 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fcups.git;a=commitdiff_plain;h=312370bd750c4c4a4420025d7cfb6b52f7ac6056 consider loop detected to be success if return 0, load_ppds won't continue to search other files in current directory. --- diff --git a/scheduler/cups-driverd.cxx b/scheduler/cups-driverd.cxx index d063ba590..1c5b26533 100644 --- a/scheduler/cups-driverd.cxx +++ b/scheduler/cups-driverd.cxx @@ -2400,7 +2400,7 @@ load_ppds(const char *d, /* I - Actual directory */ { fprintf(stderr, "ERROR: [cups-driverd] Skipping \"%s\": loop detected!\n", d); - return (0); + return (1); } /*