mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
Minor formatting fix from code audit in cli.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
3
cli.c
3
cli.c
@@ -47,8 +47,7 @@ void ast_cli(int fd, char *fmt, ...)
|
|||||||
va_end(ap);
|
va_end(ap);
|
||||||
if (res == -1) {
|
if (res == -1) {
|
||||||
ast_log(LOG_ERROR, "Out of memory\n");
|
ast_log(LOG_ERROR, "Out of memory\n");
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
ast_carefulwrite(fd, stuff, strlen(stuff), 100);
|
ast_carefulwrite(fd, stuff, strlen(stuff), 100);
|
||||||
free(stuff);
|
free(stuff);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user