Changeset 247 for trunk/src/sh_gpg.c


Ignore:
Timestamp:
Sep 17, 2009, 10:22:48 PM (15 years ago)
Author:
katerina
Message:

Fix a race condition that might have caused ticket #163.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_gpg.c

    r227 r247  
    263263
    264264#if defined(HAVE_GPG_CHECKSUM)
    265   SL_TICKET   checkfd;
     265  SL_TICKET   checkfd = -1;
    266266  int         myrand;
    267267  int         i;
     
    560560       */
    561561      sl_close(checkfd);
     562      checkfd = -1;
    562563#endif
    563564
Note: See TracChangeset for help on using the changeset viewer.