Changeset 3c88759 for protocols/skype


Ignore:
Timestamp:
2012-04-22T21:53:57Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
d527913
Parents:
e93fa05 (diff), 9ce44dd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge skyped bugfix (#945).

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.