Просмотр исходного кода

Auto merged

2005/06/15 14:09:08-07:00 osdl.net!markh
Fix version handling code to be B spec compliant.
BUG 623.

(Logical change 1.206)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@664 fd59a12c-fef9-0310-b244-a6a79926bd2f
Mark Haverkamp 20 лет назад
Родитель
Сommit
221aa61328
4 измененных файлов с 4 добавлено и 8 удалено
  1. 1 2
      lib/amf.c
  2. 1 2
      lib/ckpt.c
  3. 1 2
      lib/clm.c
  4. 1 2
      lib/evt.c

+ 1 - 2
lib/amf.c

@@ -85,8 +85,7 @@ static struct saHandleDatabase amfHandleDatabase = {
  * Versions supported
  * Versions supported
  */
  */
 static SaVersionT amfVersionsSupported[] = {
 static SaVersionT amfVersionsSupported[] = {
-	{ 'A', 1, 1 },
-	{ 'a', 1, 1 }
+	{ 'A', 1, 1 }
 };
 };
 
 
 static struct saVersionDatabase amfVersionDatabase = {
 static struct saVersionDatabase amfVersionDatabase = {

+ 1 - 2
lib/ckpt.c

@@ -125,8 +125,7 @@ static struct saHandleDatabase ckptSectionIterationHandleDatabase = {
  * Versions supported
  * Versions supported
  */
  */
 static SaVersionT ckptVersionsSupported[] = {
 static SaVersionT ckptVersionsSupported[] = {
-	{ 'B', 1, 1 },
-	{ 'b', 1, 1 }
+	{ 'B', 1, 1 }
 };
 };
 
 
 static struct saVersionDatabase ckptVersionDatabase = {
 static struct saVersionDatabase ckptVersionDatabase = {

+ 1 - 2
lib/clm.c

@@ -79,8 +79,7 @@ static struct saHandleDatabase clmHandleDatabase = {
  * Versions supported
  * Versions supported
  */
  */
 static SaVersionT clmVersionsSupported[] = {
 static SaVersionT clmVersionsSupported[] = {
-	{ 'B', 1, 1 },
-	{ 'b', 1, 1 }
+	{ 'B', 1, 1 }
 };
 };
 
 
 static struct saVersionDatabase clmVersionDatabase = {
 static struct saVersionDatabase clmVersionDatabase = {

+ 1 - 2
lib/evt.c

@@ -51,8 +51,7 @@ static void eventHandleInstanceDestructor(void *instance);
  * Versions of the SAF AIS specification supported by this library
  * Versions of the SAF AIS specification supported by this library
  */
  */
 static SaVersionT supported_versions[] = {
 static SaVersionT supported_versions[] = {
-	{'B', 0x01, 0x01},
-	{'b', 0x01, 0x01}
+	{'B', 0x01, 0x01}
 };
 };
 
 
 static struct saVersionDatabase evt_version_database = {
 static struct saVersionDatabase evt_version_database = {