This patch fixes the check for a null timerDataP passed in to
saTmrTimerCancel. Previously patch checked *timerDataP, which is
wrong.
Index: lib/tmr.c
===================================================================
--- lib/tmr.c (revision 1769)
+++ lib/tmr.c (working copy)
@@ -504,7 +504,7 @@
printf ("[DEBUG]: saTmrTimerCancel { id=%u }\n",
(unsigned int)(timerId));
- if (*timerDataP == NULL) {
+ if (timerDataP == NULL) {
error = SA_AIS_ERR_INVALID_PARAM;
goto error_exit;
}
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais