Adjust indent
This commit is contained in:
parent
b4b702dd4f
commit
fac62f094e
2
string.c
2
string.c
@ -6467,7 +6467,7 @@ str_undump(VALUE str)
|
|||||||
rb_raise(rb_eRuntimeError, "non-ASCII character detected");
|
rb_raise(rb_eRuntimeError, "non-ASCII character detected");
|
||||||
}
|
}
|
||||||
if (!str_null_check(str, &w)) {
|
if (!str_null_check(str, &w)) {
|
||||||
rb_raise(rb_eRuntimeError, "string contains null byte");
|
rb_raise(rb_eRuntimeError, "string contains null byte");
|
||||||
}
|
}
|
||||||
if (RSTRING_LEN(str) < 2) goto invalid_format;
|
if (RSTRING_LEN(str) < 2) goto invalid_format;
|
||||||
if (*s != '"') goto invalid_format;
|
if (*s != '"') goto invalid_format;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user