shithub: dumb

Download patch

ref: 00b26550e65da3350f684ebc19be57050a2cca1a
parent: 61d10a21c142cb717bc25f03d5772b3cb4e09529
author: Chris Moeller <kode54@gmail.com>
date: Mon Jan 11 03:58:41 EST 2010

{10/11/2005 4:16:34 PM}

git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C14

--- a/dumb/src/it/readxm.c
+++ b/dumb/src/it/readxm.c
@@ -687,7 +687,8 @@
 	}
 
 	/* version number */
-	if (dumbfile_igetw(f) != 0x0104) {
+	i = dumbfile_igetw(f);
+	if (i != 0x0104 && i != 0x0102) {
 		TRACE("XM error: wrong format version\n");
 		free(sigdata);
 		return NULL;