basic/escape: swap 'bad' and 'len' params for decescape()
To follow our usual coding style.
This commit is contained in:
+1
-1
@@ -478,7 +478,7 @@ char* octescape(const char *s, size_t len) {
|
||||
return buf;
|
||||
}
|
||||
|
||||
char* decescape(const char *s, const char *bad, size_t len) {
|
||||
char* decescape(const char *s, size_t len, const char *bad) {
|
||||
char *buf, *t;
|
||||
|
||||
/* Escapes all chars in bad, in addition to \ and " chars, in \nnn decimal style escaping. */
|
||||
|
||||
Reference in New Issue
Block a user