[PATCH 05/16] email-lda: introduce a function for printing the separator

Artem Bityutskiy dedekind1 at gmail.com
Thu Feb 6 08:30:51 PST 2014


From: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>

Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
---
 email/aiaiai-email-lda | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/email/aiaiai-email-lda b/email/aiaiai-email-lda
index e91f1c5..5c359de 100755
--- a/email/aiaiai-email-lda
+++ b/email/aiaiai-email-lda
@@ -327,13 +327,18 @@ EOF
 	fi
 }
 
-# Process one e-mail stored in the $mbox temporary file
-process_mbox()
+separator()
 {
 	if [ -n "$verbose" ]; then
 		printf "\n%s"   "----------------------------------------------------" >&2
 		printf "%s\n\n" "----------------------------------------------------" >&2
 	fi
+}
+
+# Process one e-mail stored in the $mbox temporary file
+process_mbox()
+{
+	separator
 
 	# Make sure important headers are there
 	grep -i -q -- "^Message-Id:[[:blank:]]" "$mbox" ||
-- 
1.8.5.2




More information about the aiaiai mailing list