From b5bc8bb46b94627eb740e79a1ff7db1050cf6b69 Mon Sep 17 00:00:00 2001 From: Tony Kelman Date: Tue, 30 May 2017 10:11:29 -0700 Subject: [PATCH] use 4 space indent for consistency with the rest of the package --- src/ZMQ.jl | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/ZMQ.jl b/src/ZMQ.jl index 9b195be..3ef0b31 100644 --- a/src/ZMQ.jl +++ b/src/ZMQ.jl @@ -498,11 +498,11 @@ function send(socket::Socket, zmsg::Message, SNDMORE::Bool=false) wait(socket) end else - notify_is_expensive = !isempty(socket.pollfd.notify.waitq) - if notify_is_expensive - get_events(socket) != 0 && notify(socket) - end - break + notify_is_expensive = !isempty(socket.pollfd.notify.waitq) + if notify_is_expensive + get_events(socket) != 0 && notify(socket) + end + break end end end @@ -533,11 +533,11 @@ function recv(socket::Socket) wait(socket) end else - notify_is_expensive = !isempty(socket.pollfd.notify.waitq) - if notify_is_expensive - get_events(socket) != 0 && notify(socket) - end - break + notify_is_expensive = !isempty(socket.pollfd.notify.waitq) + if notify_is_expensive + get_events(socket) != 0 && notify(socket) + end + break end end return zmsg