mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-18 20:38:00 +01:00
Cleanup
This commit is contained in:
parent
f32234291e
commit
f0e044ecd8
@ -301,11 +301,8 @@ STATIC_INLINE SV* _execute_impl(SV* self, SV* data, UV off, size_t limit) {
|
||||
|
||||
if(ret < 0) {
|
||||
Perl_croak(aTHX_ "parse error.");
|
||||
} else if(ret > 0) {
|
||||
mp->user.finished = true;
|
||||
return sv_2mortal(newSVuv(from));
|
||||
} else {
|
||||
mp->user.finished = false;
|
||||
mp->user.finished = (ret > 0) ? true : false;
|
||||
return sv_2mortal(newSVuv(from));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user