ensure that format string macros are undef'd after use (bug #4716)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6139 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
552eab0954
commit
6b622ff869
|
@ -204,6 +204,7 @@ static int group_show_channels(int fd, int argc, char *argv[])
|
|||
|
||||
ast_cli(fd, "%d active channel%s\n", numchans, (numchans != 1) ? "s" : "");
|
||||
return RESULT_SUCCESS;
|
||||
#undef FORMAT_STRING
|
||||
}
|
||||
|
||||
static char *tdesc = "Group Management Routines";
|
||||
|
|
|
@ -9494,9 +9494,9 @@ static int zap_show_status(int fd, int argc, char *argv[]) {
|
|||
}
|
||||
close(ctl);
|
||||
|
||||
#undef FORMAT
|
||||
#undef FORMAT2
|
||||
return RESULT_SUCCESS;
|
||||
#undef FORMAT
|
||||
#undef FORMAT2
|
||||
}
|
||||
|
||||
static char show_channels_usage[] =
|
||||
|
|
Reference in New Issue