diff options
author | Sean Bright <sean@malleable.com> | 2009-04-21 13:44:58 +0000 |
---|---|---|
committer | Sean Bright <sean@malleable.com> | 2009-04-21 13:44:58 +0000 |
commit | e80dab93186b6e019d5fff0a8d780310c6678062 (patch) | |
tree | b34340bfcfe725317051c934a56796f33f844ca5 /patgen.c | |
parent | e597312384e0641a995e18d687746b26a181e46a (diff) |
Correct error check for fopen() calls in dahdi_monitor.c.
dahdi_monitor.c was checking for an error calling fopen() by determining if the
return value was less than 0. fopen(), however, returns a FILE * and returns
NULL on failure.
(closes issue #14894)
Reported by: gknispel_proformatique
Patches:
dahdi_monitor_fix_check_fopen_result.patch uploaded by gknispel (license 261)
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6421 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'patgen.c')
0 files changed, 0 insertions, 0 deletions