aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Naselli <angelo.naselli@softeco.it>2015-03-19 16:40:41 +0100
committerAngelo Naselli <angelo.naselli@softeco.it>2015-03-19 16:40:41 +0100
commit3afcb7a070e0aa5e0d6225d56e3647ade82b34ea (patch)
treec7e4075c7c8d1ec147864e660109efb9e51016af
parent93033755f373bcd3377a76baee86386e0dc4580a (diff)
downloaduserdrake-3afcb7a070e0aa5e0d6225d56e3647ade82b34ea.tar
userdrake-3afcb7a070e0aa5e0d6225d56e3647ade82b34ea.tar.gz
userdrake-3afcb7a070e0aa5e0d6225d56e3647ade82b34ea.tar.bz2
userdrake-3afcb7a070e0aa5e0d6225d56e3647ade82b34ea.tar.xz
userdrake-3afcb7a070e0aa5e0d6225d56e3647ade82b34ea.zip
reverting for a better implementation
-rw-r--r--USER/USER.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/USER/USER.xs b/USER/USER.xs
index 7d3d13e..bb11612 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, SvPV(ssv,PL_na));
+ g_value_set_string(&val, SvGChar(ssv));
lu_ent_clear(self, LU_GECOS);
lu_ent_add(self, LU_GECOS, &val);
} else {