summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgfx <gfuji@cpan.org>2010-09-16 20:41:52 +0900
committergfx <gfuji@cpan.org>2010-09-16 20:41:52 +0900
commit3cffd46008c8a25dcc77818dbc4fbfd675923ea2 (patch)
tree461edf785f0ce1b84c3a6d87f586757cdae4c05c
parente239bfda8add9d7fd42dcd5f2e2bfc01eae9e824 (diff)
downloadmsgpack-python-3cffd46008c8a25dcc77818dbc4fbfd675923ea2.tar.gz
Fix a comment
-rw-r--r--perl/xs-src/unpack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/xs-src/unpack.c b/perl/xs-src/unpack.c
index 1d7de71..da985e3 100644
--- a/perl/xs-src/unpack.c
+++ b/perl/xs-src/unpack.c
@@ -179,7 +179,7 @@ STATIC_INLINE int template_callback_map_item(unpack_user* u PERL_UNUSED_DECL, SV
STATIC_INLINE int template_callback_raw(unpack_user* u PERL_UNUSED_DECL, const char* b PERL_UNUSED_DECL, const char* p, unsigned int l, SV** o)
{
dTHX;
- /* newSVpvn_flags(p, l, SVs_TEMP) returns an undef if l == 0 */
+ /* newSVpvn(p, l) returns an undef if p == NULL */
*o = ((l==0) ? newSVpvs("") : newSVpvn(p, l));
return 0;
}