projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fix typo
[p5sagit/p5-mst-13.2.git]
/
xsutils.c
diff --git
a/xsutils.c
b/xsutils.c
index
02fab51
..
0f5989b
100644
(file)
--- a/
xsutils.c
+++ b/
xsutils.c
@@
-253,11
+253,7
@@
usage:
rv = ST(0);
ST(0) = TARG;
- if (!SvOK(rv)) {
- ST(0) = &PL_sv_no;
- XSRETURN(1);
- }
- if (!SvROK(rv))
+ if (!(SvOK(rv) && SvROK(rv)))
goto usage;
sv = SvRV(rv);
sv_setpv(TARG, sv_reftype(sv, 0));