mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 03:21:44 +03:00
remote_driver.c: also zero out ->saslDecodedOffset member
* src/remote/remote_driver.c (remoteIOReadMessage): ...rather than zeroing out priv->saslDecodedLength twice.
This commit is contained in:
parent
dd16045041
commit
49226d2ce4
@ -7782,7 +7782,7 @@ remoteIOReadMessage(virConnectPtr conn, struct private_data *priv,
|
||||
priv->saslDecodedOffset += wantData;
|
||||
priv->bufferOffset += wantData;
|
||||
if (priv->saslDecodedOffset == priv->saslDecodedLength) {
|
||||
priv->saslDecodedLength = priv->saslDecodedLength = 0;
|
||||
priv->saslDecodedOffset = priv->saslDecodedLength = 0;
|
||||
priv->saslDecoded = NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user