summaryrefslogtreecommitdiff
path: root/content/fetchers/about.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2011-03-13 12:17:18 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2011-03-13 12:17:18 +0000
commit514b94b1f4471c41a68fd3ad2a6226840e4e2aef (patch)
tree5e8d78a4d2427af443d764fc06f762f2d7b32427 /content/fetchers/about.c
parent8695000b833f9464ef414e09cb2a96958fe96c8b (diff)
downloadnetsurf-514b94b1f4471c41a68fd3ad2a6226840e4e2aef.tar.gz
netsurf-514b94b1f4471c41a68fd3ad2a6226840e4e2aef.tar.bz2
Add hostname and path
svn path=/trunk/netsurf/; revision=12023
Diffstat (limited to 'content/fetchers/about.c')
-rw-r--r--content/fetchers/about.c8
1 files changed, 8 insertions, 0 deletions
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",