Code formatting. No functional changes.
This commit is contained in:
parent
b0a5d11a3f
commit
4c6fb12377
7 changed files with 11 additions and 12 deletions
|
@ -126,7 +126,10 @@ xdprval(struct valstr *val, char *sep)
|
|||
l = s + val->val_as.str.maxsz;
|
||||
/* FIXME maxsz == INT_MAX ! */
|
||||
for (;;) {
|
||||
for (e=s; e<l && *e != '"' && *e != '\\' && isgraph(*e); ++e) ;
|
||||
for (e = s;
|
||||
e < l && *e != '"' && *e != '\\' && isgraph(*e);
|
||||
++e)
|
||||
;
|
||||
pr("%.*s", (int)(e-s), s);
|
||||
if (e < l && *e)
|
||||
pr("\\%03o", *e++);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue