[Dovecot] array code issue ?

2012-04-20 Thread Tim Ruehsen
Hi, I just took a look into the dovecot 2.1 sources and just saw a possible issue in array.h. This code snippet as an example: #static inline void * #array_get_modifiable_i(struct array *array, unsigned int *count_r) #{ # *count_r = array-buffer-used / array-element_size; # return

Re: [Dovecot] array code issue ?

2012-04-20 Thread Timo Sirainen
On 20.4.2012, at 17.27, Tim Ruehsen wrote: I just took a look into the dovecot 2.1 sources and just saw a possible issue in array.h. This code snippet as an example: #static inline void * #array_get_modifiable_i(struct array *array, unsigned int *count_r) #{ # *count_r =