pidgin: 1038d385: Useful snippet of debugging that helped ...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Fri Sep 17 22:05:37 EDT 2010


----------------------------------------------------------------------
Revision: 1038d385901b2c20e17c07dfc4611110c31162d8
Parent:   c0efb5e954c6fd85477a3cc656897786be452336
Author:   rekkanoryo at pidgin.im
Date:     09/17/10 21:33:34
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/1038d385901b2c20e17c07dfc4611110c31162d8

Changelog: 

Useful snippet of debugging that helped me out.

Changes against parent c0efb5e954c6fd85477a3cc656897786be452336

  patched  libpurple/util.c

-------------- next part --------------
============================================================
--- libpurple/util.c	92d40a745831e44e540c53c485b1c175d973da5e
+++ libpurple/util.c	a0e7bd39a62ae4263061cc98a80bc2ecf1e00e5b
@@ -2812,6 +2812,10 @@ purple_program_is_valid(const char *prog
 	progname = g_find_program_in_path(argv[0]);
 	is_valid = (progname != NULL);
 
+	if(purple_debug_is_verbose())
+		purple_debug_info("program_is_valid", "Tested program %s.  %s.\n", program,
+				is_valid ? "Valid" : "Invalid");
+
 	g_strfreev(argv);
 	g_free(progname);
 


More information about the Commits mailing list