Re: [libvirt] [PATCH 13/14] Refactor code prompting for SASL credentials

2012-03-22 Thread Osier Yang
On 2012年03月21日 01:33, Daniel P. Berrange wrote: From: "Daniel P. Berrange" 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

[libvirt] [PATCH 13/14] Refactor code prompting for SASL credentials

2012-03-20 Thread Daniel P. Berrange
From: "Daniel P. Berrange" 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: Refa