aboutsummaryrefslogtreecommitdiffstats
path: root/USER
diff options
context:
space:
mode:
authorAngelo Naselli <angelo.naselli@softeco.it>2015-03-19 08:56:28 +0100
committerAngelo Naselli <angelo.naselli@softeco.it>2015-03-19 08:56:28 +0100
commit93033755f373bcd3377a76baee86386e0dc4580a (patch)
tree74cf0f39b0e6d7ecee4d9bd3b517d1ea6e02c63f /USER
parentf3adef426483c945a81f53ec66c42368a1610a7c (diff)
downloaduserdrake-93033755f373bcd3377a76baee86386e0dc4580a.tar
userdrake-93033755f373bcd3377a76baee86386e0dc4580a.tar.gz
userdrake-93033755f373bcd3377a76baee86386e0dc4580a.tar.bz2
userdrake-93033755f373bcd3377a76baee86386e0dc4580a.tar.xz
userdrake-93033755f373bcd3377a76baee86386e0dc4580a.zip
undefined SvGChar moved to SvPV as used everywhere
Diffstat (limited to 'USER')
-rw-r--r--USER/USER.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/USER/USER.xs b/USER/USER.xs
index bb11612..7d3d13e 100644
--- a/USER/USER.xs
+++ b/USER/USER.xs
@@ -679,7 +679,7 @@ Ent_Gecos(self, ssv)
} else if( SvPOK( ssv ) ) {
memset(&val, 0, sizeof(val));
g_value_init(&val, G_TYPE_STRING);
- g_value_set_string(&val, SvGChar(ssv));
+ g_value_set_string(&val, SvPV(ssv,PL_na));
lu_ent_clear(self, LU_GECOS);
lu_ent_add(self, LU_GECOS, &val);
} else {