Changeset 388 for trunk/src


Ignore:
Timestamp:
Feb 9, 2012, 7:54:18 PM (13 years ago)
Author:
katerina
Message:

Fix for ticket #285 (NULL pointer dereference on systems without inotify).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_inotify.c

    r383 r388  
    862862  retry_msleep(waitsec, 0);
    863863
    864   *errnum = 0;
     864  if (errnum)
     865    *errnum = 0;
    865866  return -1;
    866867}
     
    875876  (void) type;
    876877  (void) rdepth;
    877   *errnum = 0;
     878
     879  if (errnum)
     880    *errnum = 0;
    878881  return 0;
    879882}
     
    889892  (void) type;
    890893  (void) rdepth;
    891   *errnum = 0;
     894
     895  if (errnum)
     896    *errnum = 0;
    892897  return 0;
    893898}
Note: See TracChangeset for help on using the changeset viewer.