[libdmapsharing] Fixed debug statement that caused segfaults on MIPS32 and PowerPC. Signed-off-by: W. Michael Petullo



commit 6b87cb8c89b7ece5d6b2959afe108fdcb0369ba6
Author: W. Michael Petullo <mike flyn org>
Date:   Sat Feb 27 15:56:13 2010 -0500

    Fixed debug statement that caused segfaults on MIPS32 and PowerPC.
    Signed-off-by: W. Michael Petullo <mike flyn org>

 ChangeLog                   |    5 +++++
 TODO                        |    3 +--
 configure.ac                |    4 ++--
 libdmapsharing/daap-share.c |    4 ++--
 4 files changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index be4b98f..ad94ad2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+12 December 2009 W. Michael Petullo <mike flyn org>
+
+	* Fixed debug statement that caused segfaults of MIPS32 and
+	PowerPC.
+
 05 December 2009 W. Michael Petullo <mike flyn org>
 
 	* Use our own log domain.
diff --git a/TODO b/TODO
index 0872035..7514b0f 100644
--- a/TODO
+++ b/TODO
@@ -105,8 +105,7 @@ libdmapsharing-1.0.la
 libdmapsharing.la
 
 Add a Mac OS X Zeroconf backend as an alternative to avahi?
-	See dns_sd.h
-	Implement dmap-mdns-publisher.h using DNSServiceRegister ().
+	Finish browser side support.
 	Update MacPorts port to no longer require avahi.
 
 Fix seeking.
diff --git a/configure.ac b/configure.ac
index 1e62152..d99fea6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,8 +1,8 @@
-AC_INIT(libdmapsharing, 1.9.0.14)
+AC_INIT(libdmapsharing, 1.9.0.15)
 
 dnl when going to/from release please set the nano (fourth number) right !
 dnl releases only do Wall, cvs and prerelease does Werror too
-AS_VERSION(libdmapsharing, LIBDMAPSHARING, 1, 9, 0, 14, LIBDMAPSHARING_CVS="no", LIBDMAPSHARING_CVS="yes")
+AS_VERSION(libdmapsharing, LIBDMAPSHARING, 1, 9, 0, 15, LIBDMAPSHARING_CVS="no", LIBDMAPSHARING_CVS="yes")
 
 AM_INIT_AUTOMAKE
 
diff --git a/libdmapsharing/daap-share.c b/libdmapsharing/daap-share.c
index 670b404..7bce97d 100644
--- a/libdmapsharing/daap-share.c
+++ b/libdmapsharing/daap-share.c
@@ -470,7 +470,7 @@ send_chunked_file (SoupServer *server, SoupMessage *message, DAAPRecord *record,
 	g_object_get (record, "location", &location, NULL);
 
 	/* FIXME: This crashes on powerpc-440fp-linux-gnu:
-	 * g_debug ("Sending %s chunked from offset %." G_GUINT64_FORMAT, location, offset);
+	 * g_debug ("Sending %s chunked from offset %" G_GUINT64_FORMAT ".", location, offset);
 	 */
 
 	cd->server = server;
@@ -531,7 +531,7 @@ send_chunked_file (SoupServer *server, SoupMessage *message, DAAPRecord *record,
 		g_debug ("Using HTTP 1.1 content length encoding.");
 		soup_message_headers_set_encoding (message->response_headers,
 						  SOUP_ENCODING_CONTENT_LENGTH);
-		g_debug ("Content length is %." G_GUINT64_FORMAT, filesize);
+		g_debug ("Content length is %" G_GUINT64_FORMAT ".", filesize);
 		soup_message_headers_set_content_length (
 			message->response_headers, filesize);
 	} else if (soup_message_get_http_version (message) == SOUP_HTTP_1_0) {



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