From 34e7a8dad09994e50d50202689316d5ed4002774 Mon Sep 17 00:00:00 2001 From: Vreixo Formoso Date: Tue, 1 Jan 2008 20:27:07 +0100 Subject: [PATCH] Fix bug in RR PX entry parsing. --- src/rockridge_read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rockridge_read.c b/src/rockridge_read.c index 957e2e6..4f41458 100644 --- a/src/rockridge_read.c +++ b/src/rockridge_read.c @@ -155,7 +155,7 @@ int read_rr_PX(struct susp_sys_user_entry *px, struct stat *st) return ISO_WRONG_ARG_VALUE; } - if (px->len_sue[0] != 44 || px->len_sue[0] != 36) { + if (px->len_sue[0] != 44 && px->len_sue[0] != 36) { return ISO_WRONG_RR; }