summaryrefslogtreecommitdiff
path: root/xsutils.c
diff options
context:
space:
mode:
authorRick Delaney <rick@consumercontact.com>2005-08-22 09:00:33 -0400
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-08-23 13:25:15 +0000
commit5b295bef27e91243a93cdb460dcf005e5bf35426 (patch)
treebcca3ea1266736c0c5f577d2acecb84aaf39b68a /xsutils.c
parentb76aa5af2840585626e18c84f60feb97c68abd14 (diff)
downloadperl-5b295bef27e91243a93cdb460dcf005e5bf35426.tar.gz
Use SvGETMAGIC more often
Message-ID: <20050822170033.GH7674@localhost.localdomain> p4raw-id: //depot/perl@25322
Diffstat (limited to 'xsutils.c')
-rw-r--r--xsutils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xsutils.c b/xsutils.c
index b22a263bbc..848fc958d0 100644
--- a/xsutils.c
+++ b/xsutils.c
@@ -305,8 +305,7 @@ usage:
rv = ST(0);
ST(0) = TARG;
- if (SvGMAGICAL(rv))
- mg_get(rv);
+ SvGETMAGIC(rv);
if (!(SvOK(rv) && SvROK(rv)))
goto usage;
sv = SvRV(rv);