Pārlūkot izejas kodu

Merge branch 'maint-0.2.8'

Nick Mathewson 7 gadi atpakaļ
vecāks
revīzija
9c87869dde
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  1. 0 1
      src/common/sandbox.c

+ 0 - 1
src/common/sandbox.c

@@ -606,7 +606,6 @@ sb_socket(scmp_filter_ctx ctx, sandbox_cfg_t *filter)
     const int pf = i ? PF_INET : PF_INET6;
     for (j=0; j < 3; ++j) {
       const int type     = (j == 0) ? SOCK_STREAM :
-                           (j == 1) ? SOCK_DGRAM :
                                       SOCK_DGRAM;
       const int protocol = (j == 0) ? IPPROTO_TCP :
                            (j == 1) ? IPPROTO_IP :