messaging3: Simplify ping_message()
authorVolker Lendecke <vl@samba.org>
Wed, 9 Jul 2014 13:17:13 +0000 (13:17 +0000)
committerVolker Lendecke <vl@samba.org>
Thu, 24 Jul 2014 19:41:10 +0000 (21:41 +0200)
commitbe2b89174087b570b61f1dbc321c46debc5f4f50
tree323261712e13722a392c8d448b870881443a9c5d
parent7f623cbe7913d3a7572e8467d45b03b534f1534a
messaging3: Simplify ping_message()

The talloc_strnup was only used to \0-terminate the data for printing. The
same can be achieved by %.* in the printf format.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/lib/messages.c