summaryrefslogtreecommitdiff
path: root/pod/perlxs.pod
diff options
context:
space:
mode:
authorMarcus Holland-Moritz <mhx-perl@gmx.net>2008-07-13 19:04:20 +0000
committerMarcus Holland-Moritz <mhx-perl@gmx.net>2008-07-13 19:04:20 +0000
commit7e455f685b45addf2cc78d01dda187c70274aaa3 (patch)
tree51bd95327ef376a3f505899bca47bdec4b0ae934 /pod/perlxs.pod
parent26bfa6e19e3eed192092dc298a7d234daadb4a7d (diff)
downloadperl-7e455f685b45addf2cc78d01dda187c70274aaa3.tar.gz
Fix for #56874: maybe small error in perlxs.pod example
p4raw-id: //depot/perl@34137
Diffstat (limited to 'pod/perlxs.pod')
-rw-r--r--pod/perlxs.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlxs.pod b/pod/perlxs.pod
index f88565bf17..9e70c69126 100644
--- a/pod/perlxs.pod
+++ b/pod/perlxs.pod
@@ -1094,8 +1094,8 @@ return value, should the need arise.
time_t timep;
bool_t x;
CODE:
- ST(0) = sv_newmortal();
if( rpcb_gettime( host, &timep ) ){
+ ST(0) = sv_newmortal();
sv_setnv( ST(0), (double)timep);
}
else{