[Commits] extension-loader.c 1.4 1.5

miras at claws-mail.org miras at claws-mail.org
Tue Dec 13 16:09:36 CET 2011


Update of /home/claws-mail/contacts/src
In directory claws-mail:/tmp/cvs-serv26646/src

Modified Files:
	extension-loader.c 
Log Message:
2011-12-13 [mir]	0.6.0cvs46

	* src/extension-loader.c
	    Fix bug. Forgot to build path to extensions. 

Index: extension-loader.c
===================================================================
RCS file: /home/claws-mail/contacts/src/extension-loader.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- extension-loader.c	13 Dec 2011 14:56:29 -0000	1.4
+++ extension-loader.c	13 Dec 2011 15:09:33 -0000	1.5
@@ -328,8 +328,10 @@
 	else {
 		while ((filename = g_dir_read_name(ext_dir))) {
 			if (g_str_has_suffix(filename, G_MODULE_SUFFIX)) {
+				path = g_build_filename(CLAWS_CONTACTS_EXTENSIONDIR, filename, NULL);
 				debug_print("Extension dir: %s\n", path);
-				files = g_slist_append(files, g_strdup(filename));
+				files = g_slist_append(files, g_strdup(path));
+				g_free(path);
 			}
 		}
 	}



More information about the Commits mailing list