ref: d275add1a89e77c69ef10bd6ed239b48c693bc42
parent: 9585e9b7f842fcd0922fe04cae5ed87e7c455728
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Aug 6 07:43:22 EDT 2015
kernel: fix indention in validname0()
--- a/sys/src/9/port/chan.c
+++ b/sys/src/9/port/chan.c
@@ -1758,10 +1758,10 @@
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++;
}