diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-05-15 13:42:00 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-05-15 13:42:00 +0000 |
commit | a9fc1918f1d166c30ca216d07c4d2d057726a85d (patch) | |
tree | 6e8f217eaa310f37fd40205dd82d22fbacbba3bc /usr.sbin/lpr/lpq/lpq.c | |
parent | 11cbced3d1ae3d709ad1c9f57450eb4fe2c3a689 (diff) |
previous fix of NULL check reversed
Diffstat (limited to 'usr.sbin/lpr/lpq/lpq.c')
-rw-r--r-- | usr.sbin/lpr/lpq/lpq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/lpr/lpq/lpq.c b/usr.sbin/lpr/lpq/lpq.c index bcd0cc0bcff..02d25b3ca39 100644 --- a/usr.sbin/lpr/lpq/lpq.c +++ b/usr.sbin/lpr/lpq/lpq.c @@ -108,7 +108,7 @@ main(argc, argv) char *p; printer = DEFLP; - if ((p = getenv("PRINTER")) == NULL) + if ((p = getenv("PRINTER")) != NULL) printer = p; } |