ports/net/corosync/files/patch-test-cpghum.c
Tijl Coosemans baac3115e0 Add net/corosync.
The Corosync Cluster Engine is a Group Communication System with additional
features for implementing high availability within applications. The project
provides four C Application Programming Interface features:

* A closed process group communication model with virtual synchrony
  guarantees for creating replicated state machines.
* A simple availability manager that restarts the application process when it
  has failed.
* A configuration and statistics in-memory database that provide the ability
  to set, retrieve, and receive change notifications of information.
* A quorum system that notifies applications when quorum is achieved or
  lost.

Corosync is used as a High Availability framework by projects such as Apache
Qpid and Pacemaker.

PR:		208182
Submitted by:	David Shane Holden <dpejesh@yahoo.com>
2016-03-24 10:14:11 +00:00

11 lines
287 B
C

--- test/cpghum.c.orig 2015-06-22 14:03:28 UTC
+++ test/cpghum.c
@@ -116,7 +116,7 @@ static void cpg_bm_deliver_fn (
{
int *value = msg;
uLong crc=0;
- ulong recv_crc = value[1] & 0xFFFFFFFF;
+ uLong recv_crc = value[1] & 0xFFFFFFFF;
packets_recvd++;
g_recv_length = msg_len;