diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-10-20 17:07:55 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-10-20 17:07:55 +0000 |
commit | 54fa1f56da8d68d5f70bc6aff80e0eea51c05a68 (patch) | |
tree | 151f730828b993fee47af09e8bb58be64759c020 /wiretap/ascendtext.c | |
parent | 185d387f623e75d7e5c7e2e2f87da77958c3f95e (diff) |
Fix bug which caused ascend_open() to return "I/O error" (instead of "not me").
(This happened if ascend_open was called with *err != 0).
svn path=/trunk/; revision=34588
Diffstat (limited to 'wiretap/ascendtext.c')
-rw-r--r-- | wiretap/ascendtext.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wiretap/ascendtext.c b/wiretap/ascendtext.c index 7c510f3ff7..c55f9df5d3 100644 --- a/wiretap/ascendtext.c +++ b/wiretap/ascendtext.c @@ -107,6 +107,7 @@ static gint64 ascend_seek(wtap *wth, int *err) excessive_read_count--; if (!excessive_read_count) { + *err = 0; return -1; } |