Changes in / [e93fa05:3c88759]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/skype/skyped.py

    re93fa05 r3c88759  
    3232from ConfigParser import ConfigParser, NoOptionError
    3333from traceback import print_exception
     34from fcntl import fcntl, F_SETFD, FD_CLOEXEC
    3435import ssl
    3536
     
    185186                sock = socket.socket()
    186187        sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
     188        fcntl(sock, F_SETFD, FD_CLOEXEC);
    187189        sock.bind((host, port))
    188190        sock.listen(1)
     191
    189192        if hasgobject:
    190193                gobject.io_add_watch(sock, gobject.IO_IN, listener)
Note: See TracChangeset for help on using the changeset viewer.