Mercurial > dovecot > core-2.2
comparison src/lib-storage/index/imapc/imapc-connection.c @ 12628:49f487b435bd
imapc: Don't use uninitialized variable.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 01 Feb 2011 20:37:17 +0200 |
parents | 893e0738733b |
children | ce7b1fa63f2f |
comparison
equal
deleted
inserted
replaced
12627:e945bf4f1e59 | 12628:49f487b435bd |
---|---|
885 return ret; | 885 return ret; |
886 } | 886 } |
887 | 887 |
888 static void imapc_connection_input(struct imapc_connection *conn) | 888 static void imapc_connection_input(struct imapc_connection *conn) |
889 { | 889 { |
890 ssize_t ret; | 890 ssize_t ret = 0; |
891 | 891 |
892 /* we need to read as much as we can with SSL streams to avoid | 892 /* we need to read as much as we can with SSL streams to avoid |
893 hanging */ | 893 hanging */ |
894 while (conn->input != NULL && (ret = i_stream_read(conn->input)) > 0) | 894 while (conn->input != NULL && (ret = i_stream_read(conn->input)) > 0) |
895 imapc_connection_input_pending(conn); | 895 imapc_connection_input_pending(conn); |