534e41e436a7546f36f61e0dc49c0c191d850f6b |
|
16-May-2016 |
Phil Carmody <phil@dovecot.fi> |
lib: istream - migrate to i_stream_read_bytes()
Scripted to pick off the low hanging fruit, one liners with an explicit
'-1' in the final parameter, but hand-checked.
git grep 'i_stream_read_data.*, [^,]*- \?1)' | sed s/:.*// | \
xargs sed -i -e 's/i_stream_read_data(\(.*\), \(.*\), \(.*\), \(.*[^ ]\) \?- \?1)/i_stream_read_bytes(\1, \2, \3, \4)/'
Signed-off-by: Phil Carmody <phil@dovecot.fi> |