Re: [Openais] [corosync] [patch?] - Handle NULL callbacks in cpg, confdb, evs services

2009-08-20 Thread Jan Friesse
Changed: - break to continue (in cfg too) - (!something) to (something == NULL) Committed as 2392. Steven Dake napsal(a): On Wed, 2009-08-19 at 15:55 +0200, Jan Friesse wrote: Attached patches handle NULL callbacks in [cpg|evs|confdb]_initialize and *_dispatch. Handling is same as in cfg

[Openais] [corosync] [patch?] - Handle NULL callbacks in cpg, confdb, evs services

2009-08-19 Thread Jan Friesse
Attached patches handle NULL callbacks in [cpg|evs|confdb]_initialize and *_dispatch. Handling is same as in cfg service (and SIMILAR (see bellow) as in quorum and votequorum), so if callback is NULL - no memcpy - instance callbacks will have all items set to NULL. In *_dispatch, if