summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2019-06-05 12:46:33 -0600
committerEduardo Chappa <chappa@washington.edu>2019-06-05 12:46:33 -0600
commit5a4481cdd645334158217a1072564837bf09b28b (patch)
tree8abddddc91dafde7a5ff55ee45185c30da95c40a
parent050e2800fb26ed0d418c3f947c99402c72492186 (diff)
downloadalpine-5a4481cdd645334158217a1072564837bf09b28b.tar.xz
* Add revision string to first time user report.
-rw-r--r--alpine/send.c6
-rw-r--r--pith/pine.hlp2
2 files changed, 6 insertions, 2 deletions
diff --git a/alpine/send.c b/alpine/send.c
index 6eb33136..21181aaa 100644
--- a/alpine/send.c
+++ b/alpine/send.c
@@ -5553,7 +5553,7 @@ Returns: none
void
phone_home(char *addr)
{
- char tmp[MAX_ADDRESS];
+ char tmp[MAX_ADDRESS], revision[128];
ENVELOPE *outgoing;
BODY *body;
@@ -5576,6 +5576,10 @@ phone_home(char *addr)
so_puts((STORE_S *)body->contents.text.data, "Document request: ");
so_puts((STORE_S *)body->contents.text.data, "Alpine-");
so_puts((STORE_S *)body->contents.text.data, ALPINE_VERSION);
+ get_alpine_revision_string(revision, sizeof(revision));
+ so_puts((STORE_S *)body->contents.text.data, " (");
+ so_puts((STORE_S *)body->contents.text.data, revision);
+ so_puts((STORE_S *)body->contents.text.data, ")");
if(ps_global->first_time_user)
so_puts((STORE_S *)body->contents.text.data, " for New Users");
diff --git a/pith/pine.hlp b/pith/pine.hlp
index 6e96f1a3..9494a1d0 100644
--- a/pith/pine.hlp
+++ b/pith/pine.hlp
@@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any
reasonable place to be called from.
Dummy change to get revision in pine.hlp
============= h_revision =================
-Alpine Commit 349 2019-06-05 10:12:18
+Alpine Commit 350 2019-06-05 12:46:29
============= h_news =================
<HTML>
<HEAD>