diff options
Diffstat (limited to 'src/lib9')
-rw-r--r-- | src/lib9/_p9dialparse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib9/_p9dialparse.c b/src/lib9/_p9dialparse.c index c464e9ff..d3dc1ee4 100644 --- a/src/lib9/_p9dialparse.c +++ b/src/lib9/_p9dialparse.c @@ -85,6 +85,7 @@ p9dialparse(char *addr, char **pnet, char **punix, u32int *phost, int *pport) if(strncmp(addr, "/net/", 5) == 0) addr += 5; + *punix = nil; net = addr; if((host = strchr(net, '!')) == nil){ werrstr("malformed address"); |