dovecot-2.2-pigeonhole: managesieve-login: fixed x86 compile war...
pigeonhole at rename-it.nl
pigeonhole at rename-it.nl
Sun May 20 13:17:09 EEST 2012
details: http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/75c1a2fd9b26
changeset: 1613:75c1a2fd9b26
user: Stephan Bosch <stephan at rename-it.nl>
date: Thu Mar 15 21:29:33 2012 +0100
description:
managesieve-login: fixed x86 compile warning.
diffstat:
src/managesieve-login/client-authenticate.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r e55350fb6786 -r 75c1a2fd9b26 src/managesieve-login/client-authenticate.c
--- a/src/managesieve-login/client-authenticate.c Thu Mar 08 11:02:05 2012 +0100
+++ b/src/managesieve-login/client-authenticate.c Thu Mar 15 21:29:33 2012 +0100
@@ -149,6 +149,7 @@
bool fatal;
const unsigned char *data;
size_t size;
+ uoff_t resp_size;
int ret;
if ( i_stream_read(client->input) == -1 ) {
@@ -200,7 +201,7 @@
}
if ( !managesieve_arg_get_string_stream
- (&args[0], &msieve_client->auth_response_input)
+ (&args[0], &msieve_client->auth_response_input)
|| !MANAGESIEVE_ARG_IS_EOL(&args[1]) ) {
if ( !initial )
*error_r = "Invalid AUTHENTICATE client response.";
@@ -211,11 +212,11 @@
}
if ( i_stream_get_size
- (msieve_client->auth_response_input, FALSE, &size) <= 0 )
- size = 0;
+ (msieve_client->auth_response_input, FALSE, &resp_size) <= 0 )
+ resp_size = 0;
if (client->auth_response == NULL)
- client->auth_response = str_new(default_pool, I_MAX(size+1, 256));
+ client->auth_response = str_new(default_pool, I_MAX(resp_size+1, 256));
}
while ( (ret=i_stream_read_data
More information about the dovecot-cvs
mailing list