suspicious suspicious
authorderaadt <deraadt@openbsd.org>
Thu, 12 Sep 1996 20:48:05 +0000 (20:48 +0000)
committerderaadt <deraadt@openbsd.org>
Thu, 12 Sep 1996 20:48:05 +0000 (20:48 +0000)
usr.sbin/rpc.pcnfsd/pcnfsd_print.c

index 783bc7a..515fce5 100644 (file)
@@ -118,7 +118,7 @@ pr_queue        queue = NULL;
 int suspicious (s)
 char *s;
 {
-       if(strpbrk(pathname, ";|&<>`'#!?*()[]^") != NULL)
+       if(strpbrk(s, ";|&<>`'#!?*()[]^") != NULL)
                return 1;
        return 0;
 }