pidgin.vv: 07f085b9: Don't output an error if fs-codec.conf d...

maiku at soc.pidgin.im maiku at soc.pidgin.im
Wed Feb 4 23:40:28 EST 2009


-----------------------------------------------------------------
Revision: 07f085b918a43496f8e5efd13f4d366a39ea0e97
Ancestor: 34f94182145439afba99605114400646a75860c6
Author: maiku at soc.pidgin.im
Date: 2009-02-05T02:46:38
Branch: im.pidgin.pidgin.vv
URL: http://d.pidgin.im/viewmtn/revision/info/07f085b918a43496f8e5efd13f4d366a39ea0e97

Modified files:
        libpurple/media.c

ChangeLog: 

Don't output an error if fs-codec.conf doesn't exist.

-------------- next part --------------
============================================================
--- libpurple/media.c	e2ef7645f360b887a83b9b314c509c1c885fa82c
+++ libpurple/media.c	95218d573be9ec2b0b4a266b37924720cf632782
@@ -1739,7 +1739,14 @@ purple_media_add_stream_internal(PurpleM
 		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);
 		}
 


More information about the Commits mailing list