From: Florian Forster Date: Fri, 20 Apr 2007 06:33:52 +0000 (+0200) Subject: perl plugin: Use `Perl_newSVpv' rather than `newSVpv' X-Git-Tag: collectd-4.0.0-rc6~14 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9b87126dfc4bd3fd52ecf8d26e21e13e589f1ecd;p=collectd.git perl plugin: Use `Perl_newSVpv' rather than `newSVpv' ..cause Sebastian said to do so ;) --- diff --git a/src/perl.c b/src/perl.c index ebdacb8a..d8f294f0 100644 --- a/src/perl.c +++ b/src/perl.c @@ -965,7 +965,7 @@ static int perl_config (const char *key, const char *value) log_debug ("perl_config: loading perl plugin \"%s\"", value); Perl_load_module (perl, PERL_LOADMOD_NOIMPORT, - newSVpv (module_name, strlen (module_name)), + Perl_newSVpv (perl, module_name, strlen (module_name)), Nullsv); } else if (0 == strcasecmp (key, "BaseName")) {