]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix compile error.
authorMichael R Sweet <michael.r.sweet@gmail.com>
Tue, 27 Feb 2018 21:01:13 +0000 (16:01 -0500)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Tue, 27 Feb 2018 21:01:13 +0000 (16:01 -0500)
cups/ppd-util.c

index fd1c0b02f28ee3af4330a4c0d5e41b536eb03b37..07d91d46310b7ccf55694877d58ff6b2dfac7989 100644 (file)
@@ -228,7 +228,7 @@ cupsGetPPD3(http_t     *http,               /* I  - HTTP connection or @code CUPS_HTTP_DEFAUL
 
         char           tmppath[1024];  /* Temporary directory */
 
-       if ((tmpdir = getenv("TMPDIR")) != NULL && !strncmp(tmpdir, "/Users/", 7)))
+       if ((tmpdir = getenv("TMPDIR")) != NULL && !strncmp(tmpdir, "/Users/", 7))
          tmpdir = NULL;
 
        if (!tmpdir)