plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 4b1648d5592f4956a80737a51802ebd63bde1ef7
parent c8a93fb753d4cd3c6adc4fa939905e181151a513
Author: rsc <devnull@localhost>
Date:   Sun, 23 Jul 2006 02:57:41 +0000

ignore /net/ prefixes - been long enough

Diffstat:
Msrc/lib9/_p9dialparse.c | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git 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){