Patch to patch: the mprintf() is redundant.
----------
Index: src/cgi.c
==================================================================
--- src/cgi.c
+++ src/cgi.c
@@ -992,11 +992,11 @@
/* Apply default query parameters for the /timeline web page */
if( strlen(z)==0 ){
z = (char*)P("PATH_INFO");
if( fossil_strcmp(z,"/timeline")==0 ){
- z = mprintf("%s",db_get("timeline-default-query",""));
+ z = db_get("timeline-default-query","");
add_param_list(z,'&');
}
}
z = (char*)P("REMOTE_ADDR");
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users