mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Adjust indent
This commit is contained in:
parent
b4b702dd4f
commit
fac62f094e
1 changed files with 1 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue