tcheck auth_proxy return value properly - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 78378021c859b15a94fa21c75ab380d08a3594fb
 (DIR) parent 11f10a6cb911ab328337aa06f9f051c77f1ecf55
 (HTM) Author: rsc <devnull@localhost>
       Date:   Sat,  7 May 2005 22:33:54 +0000
       
       check auth_proxy return value properly
       
       Diffstat:
         M src/cmd/srv.c                       |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/src/cmd/srv.c b/src/cmd/srv.c
       t@@ -141,7 +141,7 @@ xauth(void)
                        return;
                }
        
       -        if(xauth_proxy(auth_getkey, "proto=p9any role=client %s", keypattern) < 0)
       +        if(xauth_proxy(auth_getkey, "proto=p9any role=client %s", keypattern) == nil)
                        sysfatal("authproxy: %r");
        }