From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6430 invoked by alias); 15 Feb 2012 09:14:55 -0000 Received: (qmail 6412 invoked by uid 9699); 15 Feb 2012 09:14:55 -0000 Date: Wed, 15 Feb 2012 09:14:00 -0000 Message-ID: <20120215091455.6410.qmail@sourceware.org> From: mornfall@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/daemons/common daemon-client.c Mailing-List: contact lvm2-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: lvm2-cvs-owner@sourceware.org X-SW-Source: 2012-02/txt/msg00095.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: mornfall@sourceware.org 2012-02-15 09:14:54 Modified files: daemons/common : daemon-client.c Log message: Do not forget to initialise the error value in daemon_reply. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/common/daemon-client.c.diff?cvsroot=lvm2&r1=1.11&r2=1.12 --- LVM2/daemons/common/daemon-client.c 2012/01/25 21:31:59 1.11 +++ LVM2/daemons/common/daemon-client.c 2012/02/15 09:14:54 1.12 @@ -34,7 +34,7 @@ daemon_reply daemon_send(daemon_handle h, daemon_request rq) { - daemon_reply reply = { .cft = NULL }; + daemon_reply reply = { .cft = NULL, .error = 0 }; assert(h.socket_fd >= 0); if (!rq.buffer) {