Relax an out of memory message.
authorMartin Schwenke <martin@meltin.net>
Wed, 16 Nov 2011 04:25:14 +0000 (15:25 +1100)
committerMartin Schwenke <martin@meltin.net>
Wed, 16 Nov 2011 04:46:44 +0000 (15:46 +1100)
commit8c4a93e77c7d7d0cec6b2afd42c22475f1b5ccdc
treec7016d1fe04971fbc12b25e8a280c012e8e41afd
parent5de9ec2bdf8067406165bc470becdca87f458ae9
Relax an out of memory message.

The call to ctdb_transport_allocate() can fail for 2 reasons:

* Unable to allocate memory.

* The transport is down, perhaps because CTDB is shutting down.

Either cause will be appropriately logged.

The current use of CTDB_NO_MEMORY_VOID() prints an "out of memory"
message regardless of what happened in ctdb_transport_allocate() and
this could be misleading.

Change this to print a more relaxed message.

Signed-off-by: Martin Schwenke <martin@meltin.net>
server/ctdb_control.c