diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-01-11 13:27:14 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-01-11 13:27:14 +0100 |
commit | 4a554d48d2f3a3d93dc66e11eec064cc245697ab (patch) | |
tree | ab18940b406130b91cad746ed1e2503c65855ad9 /src/plugins/perl/weechat-perl.c | |
parent | 0b1550afe106f28a9d547bd832b30bebe6e4e649 (diff) | |
download | weechat-4a554d48d2f3a3d93dc66e11eec064cc245697ab.zip |
perl: fix compilation when multiplicity is disabled
Diffstat (limited to 'src/plugins/perl/weechat-perl.c')
-rw-r--r-- | src/plugins/perl/weechat-perl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/perl/weechat-perl.c b/src/plugins/perl/weechat-perl.c index 705f04dc9..785733aeb 100644 --- a/src/plugins/perl/weechat-perl.c +++ b/src/plugins/perl/weechat-perl.c @@ -398,7 +398,7 @@ weechat_perl_load (const char *filename) #else snprintf (pkgname, sizeof (pkgname), "%s%d", PKG_NAME_PREFIX, perl_num); perl_num++; - length = strlen (perl_weechat_code) - 4 + strlen (pkgname) strlen (filename) + 1; + length = strlen (perl_weechat_code) - 4 + strlen (pkgname) + strlen (filename) + 1; perl_code = malloc (length); if (!perl_code) return 0; |