Skip to content
Snippets Groups Projects
Commit 9e1a699d authored by benjamin.franksen's avatar benjamin.franksen
Browse files

seq: added an assertion to the CA event handler

parent 6393dead
No related branches found
No related tags found
No related merge requests found
...@@ -280,6 +280,7 @@ static void proc_db_events( ...@@ -280,6 +280,7 @@ static void proc_db_events(
{ {
/* Copy value and meta data into user variable shared buffer /* Copy value and meta data into user variable shared buffer
(can get NULL value pointer for put completion only) */ (can get NULL value pointer for put completion only) */
assert((value==NULL)==(evtype == pvEventPut));
if (value != NULL) if (value != NULL)
{ {
void *val = pv_value_ptr(value,type); void *val = pv_value_ptr(value,type);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment