diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/Socket/Socket.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Socket/Socket.xs b/ext/Socket/Socket.xs index 09b41d3fce..82ed442ed6 100644 --- a/ext/Socket/Socket.xs +++ b/ext/Socket/Socket.xs @@ -796,7 +796,7 @@ unpack_sockaddr_un(sun_sv) e = addr.sun_path; while (*e && e < addr.sun_path + sizeof addr.sun_path) ++e; - ST(0) = sv_2mortal(newSVpvn(addr.sun_path, e - addr.sun_path)); + ST(0) = sv_2mortal(newSVpv(addr.sun_path, e - addr.sun_path)); #else ST(0) = (SV *) not_here("unpack_sockaddr_un"); #endif |