ctdb: Fix verbose_memory_names
commit478ef9493f131c4d94bada708f790db3254f0a59
authorVolker Lendecke <vl@samba.org>
Mon, 21 Jul 2014 09:48:45 +0000 (21 09:48 +0000)
committerAmitay Isaacs <amitay@samba.org>
Tue, 22 Jul 2014 04:09:50 +0000 (22 06:09 +0200)
tree15aaa74b6ea917e4214590b8fd7daeb30136c670
parent70c79f514024551128acc2d3ba879ef1407ed130
ctdb: Fix verbose_memory_names

If we have already partly written a packet, "data" and thus "pkt->data"
does not point to the start of the packet anymore. Assign "hdr" while
it still points at the start of the header.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Tue Jul 22 06:09:50 CEST 2014 on sn-devel-104
ctdb/common/ctdb_io.c