Skip to content
Snippets Groups Projects
Commit e413ae0c authored by Felipe Franciosi's avatar Felipe Franciosi Committed by Daniel P. Berrange
Browse files

io: Use qio_channel_has_feature() where applicable


Parts of the code have been testing QIOChannel features directly with a
logical AND. This patch makes it all consistent by using the
qio_channel_has_feature() function to test if a feature is present.

Signed-off-by: default avatarFelipe Franciosi <felipe@nutanix.com>
Signed-off-by: default avatarDaniel P. Berrange <berrange@redhat.com>
parent 8fbf6612
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment