zmq 2.1.0 → 2.1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/rbzmq.c +9 -9
  2. metadata +3 -2
data/rbzmq.c CHANGED
@@ -887,15 +887,6 @@ static VALUE socket_getsockopt (VALUE self_, VALUE option_)
887
887
  Check_Socket (s);
888
888
 
889
889
  switch (NUM2INT (option_)) {
890
- case ZMQ_RCVMORE:
891
- case ZMQ_HWM:
892
- case ZMQ_SWAP:
893
- case ZMQ_AFFINITY:
894
- case ZMQ_RATE:
895
- case ZMQ_RECOVERY_IVL:
896
- case ZMQ_MCAST_LOOP:
897
- case ZMQ_SNDBUF:
898
- case ZMQ_RCVBUF:
899
890
  #if ZMQ_VERSION >= 20100
900
891
  case ZMQ_FD:
901
892
  {
@@ -962,6 +953,15 @@ static VALUE socket_getsockopt (VALUE self_, VALUE option_)
962
953
  }
963
954
  break;
964
955
  #endif
956
+ case ZMQ_RCVMORE:
957
+ case ZMQ_HWM:
958
+ case ZMQ_SWAP:
959
+ case ZMQ_AFFINITY:
960
+ case ZMQ_RATE:
961
+ case ZMQ_RECOVERY_IVL:
962
+ case ZMQ_MCAST_LOOP:
963
+ case ZMQ_SNDBUF:
964
+ case ZMQ_RCVBUF:
965
965
  {
966
966
  int64_t optval;
967
967
  size_t optvalsize = sizeof(optval);
metadata CHANGED
@@ -6,7 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 2
7
7
  - 1
8
8
  - 0
9
- version: 2.1.0
9
+ - 1
10
+ version: 2.1.0.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Martin Sustrik
@@ -15,7 +16,7 @@ autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2010-12-05 00:00:00 -08:00
19
+ date: 2010-12-15 00:00:00 -08:00
19
20
  default_executable:
20
21
  dependencies: []
21
22