[hackers] [sbase] Fix tabs in libutil/unescape.c || FRIGN
commit 38adcf0c08f63b63aed0b4f7792927f2bfb2bfaf
Author: FRIGN <dev_AT_frign.de>
Date: Thu Jan 29 21:59:27 2015 +0100
Fix tabs in libutil/unescape.c
diff --git a/libutil/unescape.c b/libutil/unescape.c
index 497fb78..7f5c41f 100644
--- a/libutil/unescape.c
+++ b/libutil/unescape.c
_AT_@ -16,14 +16,14 @@ unescape(char *s)
off = 0;
switch (s[i + 1]) {
- case '\\': s[i] = '\\'; off++; break;
- case 'a': s[i] = '\a'; off++; break;
- case 'b': s[i] = '\b'; off++; break;
- case 'f': s[i] = '\f'; off++; break;
- case 'n': s[i] = '\n'; off++; break;
- case 'r': s[i] = '\r'; off++; break;
- case 't': s[i] = '\t'; off++; break;
- case 'v': s[i] = '\v'; off++; break;
+ case '\\': s[i] = '\\'; off++; break;
+ case 'a': s[i] = '\a'; off++; break;
+ case 'b': s[i] = '\b'; off++; break;
+ case 'f': s[i] = '\f'; off++; break;
+ case 'n': s[i] = '\n'; off++; break;
+ case 'r': s[i] = '\r'; off++; break;
+ case 't': s[i] = '\t'; off++; break;
+ case 'v': s[i] = '\v'; off++; break;
case '\0':
eprintf("%s: null escape sequence\n", argv0);
default:
Received on Tue Mar 24 2015 - 23:53:21 CET
This archive was generated by hypermail 2.3.0
: Wed Mar 25 2015 - 00:04:09 CET