From: Junio C Hamano Date: Wed, 9 Jul 2008 23:37:38 +0000 (-0700) Subject: imap-send.c: more style fixes X-Git-Tag: v1.6.1-rc1~344^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/9f1ad541f95cf6b9024683c8883bfb0ca86f9a3d?hp=9f1ad541f95cf6b9024683c8883bfb0ca86f9a3d imap-send.c: more style fixes The previous one sqeezed unnecessary whitespaces and joined function type and name in the definition split across lines. This patch further fixes many remaining style issues: - We are not particularly fond of typedef to hide the underlying struct definitions. - Asterisk comes next variable, i.e. "type *var", not "type * var" nor "type* var". - Casting to pointer to a type is "(type *)", not "(type*)". - An open brace comes on the same line as closing parenthesis of "if (...)" condition; "else" comes on the same line as closing brace of its corresponding "if (...) {". - Avoid single liner "if (...) ;"; they should be on two separate lines. Signed-off-by: Junio C Hamano ---