From 481e71970fee7ed113025ccfd297ed7ff00720d8 Mon Sep 17 00:00:00 2001
From: Travis Cross <tc@traviscross.com>
Date: Fri, 23 Sep 2011 16:58:41 +0000
Subject: [PATCH] fs_cli: style

---
 libs/esl/fs_cli.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/libs/esl/fs_cli.c b/libs/esl/fs_cli.c
index 3873f455f1..bc0f224520 100644
--- a/libs/esl/fs_cli.c
+++ b/libs/esl/fs_cli.c
@@ -105,8 +105,9 @@ static int process_command(esl_handle_t *handle, const char *cmd);
 static void clear_cli(void) {
 	const LineInfo *lf = el_line(el);
 	int len=(lf->lastchar - lf->buffer);
-	for (; len>0; len--)
+	for (; len>0; len--) {
 		write(STDOUT_FILENO, "\b", 1);
+	}
 }
 
 /* If a fnkey is configured then process the command */
@@ -576,8 +577,9 @@ static void clear_line(void)
 	const LineInfo *lf = el_line(el);
 	int len=(strlen(prompt_str) + (lf->lastchar - lf->buffer));
 	write(STDOUT_FILENO, "\r", 1);
-	for (; len>0; len--)
+	for (; len>0; len--) {
 		write(STDOUT_FILENO, " ", 1);
+	}
 	write(STDOUT_FILENO, "\r", 1);
 	return;
 }