Subversion Repositories RepoView

Rev

Rev 60 | Rev 63 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 60 Rev 61
Line 1... Line 1...
1
/* $Id: modern.c 60 2024-08-22 06:13:26Z nishi $ */
1
/* $Id: modern.c 61 2024-08-22 07:16:36Z nishi $ */
2
 
2
 
3
#include "rv_query.h"
3
#include "rv_query.h"
4
 
4
 
5
#include "rv_util.h"
5
#include "rv_util.h"
6
#include "rv_version.h"
6
#include "rv_version.h"
Line 219... Line 219...
219
	char* sz = malloc(128);
219
	char* sz = malloc(128);
220
	sprintf(sz, "%lld", rv_get_filesize(grepouser, urlpath));
220
	sprintf(sz, "%lld", rv_get_filesize(grepouser, urlpath));
221
	add_data(&page, "\"><td><a href=\"");
221
	add_data(&page, "\"><td><a href=\"");
222
	add_data(&page, query);
222
	add_data(&page, query);
223
	add_data(&page, "\">");
223
	add_data(&page, "\">");
-
 
224
	esc = html_escape(pathname);
224
	add_data(&page, pathname);
225
	add_data(&page, esc);
-
 
226
	free(esc);
225
	add_data(&page, "</a></td>\n");
227
	add_data(&page, "</a></td>\n");
226
	add_data(&page, "<td>\n");
228
	add_data(&page, "<td>\n");
227
	if(strcmp(sz, "-1") != 0) {
229
	if(strcmp(sz, "-1") != 0) {
228
		add_data(&page, sz);
230
		add_data(&page, sz);
229
	} else {
231
	} else {