[libdmapsharing] Resynchronize order of DMAPContentCode and DMAPContentCodeDefinition definitions



commit 4d9bd622f156e06030ace9d45f490543ea698b3b
Author: W. Michael Petullo <mike flyn org>
Date:   Sun Sep 26 19:03:41 2010 -0500

    Resynchronize order of DMAPContentCode and DMAPContentCodeDefinition definitions
    
    The definitions of DMAPContentCode and DMAPContentCodeDefinition had
    gotten out of sync. This was causing a crash when serving DPAP because
    libdmapsharing was treating a particular version number content code as
    a string.
    
    Signed-off-by: W. Michael Petullo <mike flyn org>

 libdmapsharing/dmap-structure.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libdmapsharing/dmap-structure.h b/libdmapsharing/dmap-structure.h
index 4f79f0a..ecd15d3 100644
--- a/libdmapsharing/dmap-structure.h
+++ b/libdmapsharing/dmap-structure.h
@@ -122,7 +122,6 @@ typedef enum {
 	DMAP_CC_APSO,
 	DMAP_CC_PRSV,
 	DMAP_CC_ARIF, 
-	DMAP_CC_AESV,
 	DMAP_CC_MSAS,
 	DMAP_CC_AGRP,
 	DMAP_CC_AGAL,
@@ -142,6 +141,7 @@ typedef enum {
 	DMAP_CC_PRET,
         
 	/* iTunes 6.02+ */
+	DMAP_CC_AESV,
 	DMAP_CC_AEHV,
 
 	DMAP_CC_AESP,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]