From 514b94b1f4471c41a68fd3ad2a6226840e4e2aef Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 13 Mar 2011 12:17:18 +0000 Subject: Add hostname and path svn path=/trunk/netsurf/; revision=12023 --- content/fetchers/about.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'content') diff --git a/content/fetchers/about.c b/content/fetchers/about.c index b343d2a61..0e703f370 100644 --- a/content/fetchers/about.c +++ b/content/fetchers/about.c @@ -332,6 +332,14 @@ static bool fetch_about_testament_handler(struct fetch_about_context *ctx) FETCH_ERROR_NO_ERROR)) goto fetch_about_testament_handler_aborted; + slen = snprintf(buffer, sizeof buffer, + "Built on %s in %s\n\n", + WT_HOSTNAME, WT_ROOT); + + if (fetch_about_send_callback(FETCH_DATA, ctx, buffer, slen, + FETCH_ERROR_NO_ERROR)) + goto fetch_about_testament_handler_aborted; + if (WT_MODIFIED > 0) { slen = snprintf(buffer, sizeof buffer, "Working tree has %d modification%s\n\n", -- cgit v1.2.3