
On 03/08/2018 07:20 AM, Marc Hartmayer wrote:
Use stream->prog instead of a hard-coded virNetServerProgram. Especially since these functions are intended as generic helpers for streams.
Looks like you were editing your commit message and didn't reformat. In essence though it seems you're making sure to use stream->prog instead of the hard coded "remoteProgram" that "we know" is used when the stream was created in daemonCreateClientStream. Is that about right?
Signed-off-by: Marc Hartmayer <mhartmay@linux.vnet.ibm.com> Reviewed-by: Bjoern Walk <bwalk@linux.vnet.ibm.com> Reviewed-by: Boris Fiuczynski <fiuczy@linux.vnet.ibm.com> --- src/remote/remote_daemon_stream.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
Reviewed-by: John Ferlan <jferlan@redhat.com> John