diff options
author | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-03 19:03:11 +0200 |
---|---|---|
committer | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-03 19:03:11 +0200 |
commit | 20b85c03e751b4876fa3c92040464e483172b746 (patch) | |
tree | 734fadbfdbc143ec4465093857f4c239448715e0 /src/qsutil.c | |
parent | a6a7d6ce079cabdaf2fa502b2e2cf15e5428ac6f (diff) |
manual format adjustment
Diffstat (limited to 'src/qsutil.c')
-rw-r--r-- | src/qsutil.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qsutil.c b/src/qsutil.c index 1d3c9c3..fc4129b 100644 --- a/src/qsutil.c +++ b/src/qsutil.c @@ -76,11 +76,12 @@ void logsafe(char *s) int i; while (!stralloc_copys(&foo, s)) nomem(); - for (i = 0; i < foo.len; ++i) + for (i = 0; i < foo.len; ++i) { if (foo.s[i] == '\n') foo.s[i] = '/'; else if (!issafe(foo.s[i])) foo.s[i] = '_'; + } logsa(&foo); } |