workaround osx compiler bug
Signed-off-by: Pasi Mankinen <pasi.t.mankinen@student.jyu.fi>
diff --git a/lib/handshake.c b/lib/handshake.c
index 3455b39..f343da9 100644
--- a/lib/handshake.c
+++ b/lib/handshake.c
@@ -126,8 +126,10 @@
if (wsi->ssl)
LWS_CPYAPP(p, "\x0d\x0aSec-WebSocket-Location: wss://");
else
-#endif
LWS_CPYAPP(p, "\x0d\x0aSec-WebSocket-Location: ws://");
+#else
+ LWS_CPYAPP(p, "\x0d\x0aSec-WebSocket-Location: ws://");
+#endif
LWS_CPYAPP_TOKEN(p, WSI_TOKEN_HOST);
LWS_CPYAPP_TOKEN(p, WSI_TOKEN_GET_URI);