mirror of
https://github.com/weechat/weechat.git
synced 2026-06-24 20:06:38 +02:00
perl: fix compilation when multiplicity is disabled
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user