ctdb-common: Don't modify a const argument
authorMartin Schwenke <martin@meltin.net>
Fri, 17 Aug 2018 03:46:50 +0000 (13:46 +1000)
committerAmitay Isaacs <amitay@samba.org>
Thu, 30 Aug 2018 02:48:58 +0000 (04:48 +0200)
commit0beb16f34ea538519213bb2f81d2cd04467c5baa
tree2aa2e67000a2daf4813e67c6128ae4140a1522ae
parent8fcf1af559f2a716ebcfb8277668d6539fd432f0
ctdb-common: Don't modify a const argument

The current code might be slightly more efficient but
intentionally (although temporarily) modifying a const argument just
seems wrong.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/common/system_socket.c