summaryrefslogtreecommitdiffstats
path: root/source3/lib/messages.c
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2014-05-28 10:40:29 +1000
committerAmitay Isaacs <amitay@samba.org>2014-05-29 03:35:54 +0200
commitf2ef23cd5f227d2da2f032a2a56fbdd4d105b137 (patch)
tree6efd6db65ef8c69c1bca4161bc526ed906ae6f38 /source3/lib/messages.c
parenta27e59e8ecb622de826323c048107ab75acd0928 (diff)
downloadsamba-f2ef23cd5f227d2da2f032a2a56fbdd4d105b137.tar.gz
samba-f2ef23cd5f227d2da2f032a2a56fbdd4d105b137.tar.xz
samba-f2ef23cd5f227d2da2f032a2a56fbdd4d105b137.zip
ctdb-ib: Make infiniband transport compile again
Update included header files and fix compilation warnings. ib/ibwrapper.c: In function ‘ibw_stop’: ib/ibwrapper.c:1015:17: warning: comparison between ‘enum ibw_state_ctx’ and ‘enum ibw_state_conn’ [-Wenum-compare] if (ctx->state==IBWC_ERROR || ctx->state==IBWC_CONNECTED) { ^ ib/ibwrapper.c:1015:43: warning: comparison between ‘enum ibw_state_ctx’ and ‘enum ibw_state_conn’ [-Wenum-compare] if (ctx->state==IBWC_ERROR || ctx->state==IBWC_CONNECTED) { The current logic just seems wrong. The context of this line and the error checking in ibw_disconnect() suggest that these comparisons should use p->state rather than ctx->state, so do that. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'source3/lib/messages.c')
0 files changed, 0 insertions, 0 deletions