Browse Source

Update saEvtEventPublist to return the correct error code
when the event data size in too big. Bug 768.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@772 fd59a12c-fef9-0310-b244-a6a79926bd2f

Mark Haverkamp 20 years ago
parent
commit
4bbecc618f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/evt.c

+ 1 - 1
lib/evt.c

@@ -1790,7 +1790,7 @@ saEvtEventPublish(
 	}
 
 	if (eventDataSize > SA_EVT_DATA_MAX_LEN) {
-		error = SA_AIS_ERR_INVALID_PARAM;
+		error = SA_AIS_ERR_TOO_BIG;
 		goto pub_done;
 	}