From 4b1648d5592f4956a80737a51802ebd63bde1ef7 Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 23 Jul 2006 02:57:41 +0000 Subject: ignore /net/ prefixes - been long enough --- src/lib9/_p9dialparse.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/lib9/_p9dialparse.c b/src/lib9/_p9dialparse.c index 76f9c18d..b7f5385a 100644 --- a/src/lib9/_p9dialparse.c +++ b/src/lib9/_p9dialparse.c @@ -84,9 +84,6 @@ p9dialparse(char *addr, char **pnet, char **punix, u32int *phost, int *pport) struct hostent *he; struct sockaddr_un *sockun; - if(strncmp(addr, "/net/", 5) == 0) - addr += 5; - *punix = nil; net = addr; if((host = strchr(net, '!')) == nil){ -- cgit v1.2.3