tignore /net/ prefixes - been long enough - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 4b1648d5592f4956a80737a51802ebd63bde1ef7
DIR parent c8a93fb753d4cd3c6adc4fa939905e181151a513
HTML Author: rsc <devnull@localhost>
Date: Sun, 23 Jul 2006 02:57:41 +0000
ignore /net/ prefixes - been long enough
Diffstat:
M src/lib9/_p9dialparse.c | 3 ---
1 file changed, 0 insertions(+), 3 deletions(-)
---
DIR diff --git a/src/lib9/_p9dialparse.c b/src/lib9/_p9dialparse.c
t@@ -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){