Convert simple uses of alloca/strcpy to LOCAL_COPY.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@232 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
@@ -1198,8 +1198,7 @@ BUILT_IN_COMMAND(kickban)
|
||||
if (rest && !*rest)
|
||||
rest = NULL;
|
||||
}
|
||||
tspec = alloca(strlen(spec)+1);
|
||||
strcpy(tspec, spec);
|
||||
tspec = LOCAL_COPY(spec);
|
||||
while ((tnick = next_in_comma_list(tspec, &tspec)))
|
||||
{
|
||||
int exact = 1;
|
||||
|
||||
Reference in New Issue
Block a user