Mon, 10 Feb 2014 17:27:36 +0100
Fix another perl warning
| libpurple/plugins/perl/perl-common.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/plugins/perl/perl-common.c Mon Feb 10 16:58:03 2014 +0100 +++ b/libpurple/plugins/perl/perl-common.c Mon Feb 10 17:27:36 2014 +0100 @@ -83,7 +83,8 @@ stash = gv_stashpv(stash_name, 1); hv = newHV(); - hv_store(hv, "_purple", 7, create_sv_ptr(object), 0); + if (hv_store(hv, "_purple", 7, create_sv_ptr(object), 0) == NULL) + purple_debug_error("perl", "hv_store failed\n"); return sv_bless(newRV_noinc((SV *)hv), stash); }