diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-08-06 11:43:22 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-08-06 11:43:22 +0200 |
commit | d275add1a89e77c69ef10bd6ed239b48c693bc42 (patch) | |
tree | c4738d1b1d2c4a222dc8de8510e9105adf72d718 /sys/src/9/port/chan.c | |
parent | 9585e9b7f842fcd0922fe04cae5ed87e7c455728 (diff) |
kernel: fix indention in validname0()
Diffstat (limited to 'sys/src/9/port/chan.c')
-rw-r--r-- | sys/src/9/port/chan.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/src/9/port/chan.c b/sys/src/9/port/chan.c index e623b9c94..785b449ef 100644 --- a/sys/src/9/port/chan.c +++ b/sys/src/9/port/chan.c @@ -1758,10 +1758,10 @@ validname0(char *aname, int slashok, int dup, uintptr pc) name += chartorune(&r, name); else{ if(isfrog[c]) - if(!slashok || c!='/'){ - snprint(up->genbuf, sizeof(up->genbuf), "%s: %q", Ebadchar, aname); - free(s); - error(up->genbuf); + if(!slashok || c!='/'){ + snprint(up->genbuf, sizeof(up->genbuf), "%s: %q", Ebadchar, aname); + free(s); + error(up->genbuf); } name++; } |