forked from enlightenment/efl
added some more possibly useless safety checks to ecore_con_ares
SVN revision: 56892
This commit is contained in:
parent
aaad5f7319
commit
54baacb790
|
@ -19,3 +19,7 @@
|
|||
2011-02-01 Mike McCormack
|
||||
|
||||
* Remove SIGRT from ecore's signals since it's unused and broken
|
||||
|
||||
2011-02-10 Mike Blumenkrantz
|
||||
|
||||
* added some more possibly useless safety checks to ecore_con_ares
|
||||
|
|
|
@ -565,7 +565,7 @@ _ecore_con_info_ares_nameinfo(Ecore_Con_CAres *arg,
|
|||
else
|
||||
*arg->result->service = '\0';
|
||||
|
||||
arg->done_cb(arg->data, arg->result);
|
||||
if (arg->data) arg->done_cb(arg->data, arg->result);
|
||||
break;
|
||||
|
||||
case ARES_ENOTIMP:
|
||||
|
@ -573,7 +573,7 @@ _ecore_con_info_ares_nameinfo(Ecore_Con_CAres *arg,
|
|||
case ARES_ENOMEM:
|
||||
case ARES_EDESTRUCTION:
|
||||
case ARES_EBADFLAGS:
|
||||
arg->done_cb(arg->data, NULL);
|
||||
if (arg->data) arg->done_cb(arg->data, NULL);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue