]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Refactor code prompting for SASL credentials
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 19 Mar 2012 17:26:21 +0000 (17:26 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 23 Mar 2012 13:24:07 +0000 (13:24 +0000)
commitc6c66615c259c4e71f2906119056f57af5bcdaff
tree615bc27f0309b4d2c14d25794ba906157de3e1dd
parenta4fb88b5c9e2693899c6adf7ea57a9174a7d8f10
Refactor code prompting for SASL credentials

SASL may prompt for credentials after either a 'start' or 'step'
invocation. In both cases the code to handle this is the same.
Refactor this code into a separate method to reduce the duplication,
since the complexity is about to grow

* src/remote/remote_driver.c: Refactor interaction with SASL

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/remote/remote_driver.c