Re: [PATCH] use proper name for array size

2013-01-04 Thread Oswald Buddenhagen
hi, On Mon, Dec 31, 2012 at 02:06:19PM +0100, Nikola Pajkovsky wrote: > using 'as' as name for array size is confusing a lot. Better name is > ARRAY_SIZE. > i'll think about that. when i wrote the code, i wasn't using an IDE with auto-completion yet, and now i'm kind of used to this shortcut. ^^

[PATCH] use proper name for array size

2012-12-31 Thread Nikola Pajkovsky
using 'as' as name for array size is confusing a lot. Better name is ARRAY_SIZE. Note, that 'as' has wrongly parentheses around sizeof(ar[0]). Signed-off-by: Nikola Pajkovsky --- src/drv_imap.c| 6 +++--- src/drv_maildir.c | 6 +++--- src/isync.h | 2 +- src/sync.c| 4 ++-- 4 f