common: Fix verbose_memory_names
authorVolker Lendecke <vl@samba.org>
Mon, 21 Jul 2014 09:48:45 +0000 (09:48 +0000)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 22 Jul 2014 07:59:44 +0000 (17:59 +1000)
commit0cd00c7b3347f4d1355723f01a07883f137140cf
tree80da721ea31f081a94b1d7da728fb50b8b9abcab
parent600ee0b6874bbd4a0b7aaf9e3ffd09cc561cecec
common: 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

(Imported from commit 478ef9493f131c4d94bada708f790db3254f0a59)
common/ctdb_io.c