Re: daemon option

2013-01-15 Thread Nikola Pajkovsky
Oswald Buddenhagen writes: > On Tue, Jan 15, 2013 at 01:54:51PM +0100, Davide Gerhard wrote: >> Is there a simple way to add this function (permanently?) in the code? >> (yes, I have already seen that this topic is in the todo list :) >> Some suggestion to start? >> > i haven't really thought ab

[PATCH] drv_imap: linearize code

2012-12-31 Thread Nikola Pajkovsky
this change makes code more readable old 'if' if (is_atom( tmp )) { } was inverted to if (!is_atom(tmp)) continue; and code is now correctly indented. Signed-off-by: Nikola Pajkovsky --- src/drv_im

[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.