changeset 26090:8a402c91fe6f

Don't output an error if fs-codec.conf doesn't exist.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Thu, 05 Feb 2009 02:46:38 +0000
parents 1528837ccc40
children 58071d9f10b1
files libpurple/media.c
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/media.c	Thu Feb 05 02:27:32 2009 +0000
+++ b/libpurple/media.c	Thu Feb 05 02:46:38 2009 +0000
@@ -1739,7 +1739,14 @@
 		g_free(filename);
 
 		if (err != NULL) {
-			purple_debug_error("media", "Error reading codec configuration file: %s\n", err->message);
+			if (err->code == 4)
+				purple_debug_info("media", "Couldn't read "
+						"fs-codec.conf: %s\n",
+						err->message);
+			else
+				purple_debug_error("media", "Error reading "
+						"fs-codec.conf: %s\n",
+						err->message);
 			g_error_free(err);
 		}