From: Adam Dickmeiss Date: Mon, 6 Apr 2009 21:30:44 +0000 (+0200) Subject: Avoid null ptr ref for for yaz_poll errors. X-Git-Tag: v3.0.45.rhel53~11 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=ac63793036c6d830d002241a750691b26235b3e1;hp=ac63793036c6d830d002241a750691b26235b3e1 Avoid null ptr ref for for yaz_poll errors. When yaz_poll returns error (-1) and errno is not EINTR the code previously assumed seshigh IOCHAN (client_link) and called cs_close.. In the mother process, however, the IOCHAN data is not this type. Code now prints a warning and resumes processing and does not use iochan_getdata. ---