ignore /net/ prefixes - been long enough

This commit is contained in:
rsc 2006-07-23 02:57:41 +00:00
parent c8a93fb753
commit 4b1648d559

View file

@ -84,9 +84,6 @@ p9dialparse(char *addr, char **pnet, char **punix, u32int *phost, int *pport)
struct hostent *he; struct hostent *he;
struct sockaddr_un *sockun; struct sockaddr_un *sockun;
if(strncmp(addr, "/net/", 5) == 0)
addr += 5;
*punix = nil; *punix = nil;
net = addr; net = addr;
if((host = strchr(net, '!')) == nil){ if((host = strchr(net, '!')) == nil){