X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fcrypto%2Fserv_crypto.c;h=ea542821912b1244f53ee394e1d50c36f575c471;hb=36ac32ab488eec4581384c5b1c14377e14a85b25;hp=249d9960a1720ae468c2bc100bd8c2d5763db099;hpb=7273f3d88e0e7be7cc06313835c5f50827fc4f91;p=citadel.git diff --git a/citadel/modules/crypto/serv_crypto.c b/citadel/modules/crypto/serv_crypto.c index 249d9960a..ea5428219 100644 --- a/citadel/modules/crypto/serv_crypto.c +++ b/citadel/modules/crypto/serv_crypto.c @@ -497,7 +497,7 @@ int client_readline_sslbuffer(StrBuf *Line, StrBuf *IOBuf, const char **Pos, int StrBufAppendBufPlain(Line, pos, StrLength(IOBuf) - (pos - ChrPtr(IOBuf)), 0); FlushStrBuf(IOBuf); - pos = *Pos = NULL; + *Pos = NULL; } else { int n = 0; @@ -510,7 +510,7 @@ int client_readline_sslbuffer(StrBuf *Line, StrBuf *IOBuf, const char **Pos, int if (StrLength(IOBuf) <= (pch - ChrPtr(IOBuf) + 1)) { FlushStrBuf(IOBuf); - pos = *Pos = NULL; + *Pos = NULL; } else *Pos = pch + 1;