summaryrefslogtreecommitdiff
path: root/alpine/newuser.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2020-01-18 13:08:35 -0700
committerEduardo Chappa <chappa@washington.edu>2020-01-18 13:08:35 -0700
commite328ab4a9dd90b53a4ae71cd97b699b1dd13e9a2 (patch)
tree87db9679cc4df09495c1d1bf7bf1bc69cacb3844 /alpine/newuser.c
parent29c656f7929ef43462c7f737a363ceecc16e3f11 (diff)
downloadalpine-e328ab4a9dd90b53a4ae71cd97b699b1dd13e9a2.tar.xz
* A few more changes in copyright notices and removal of phone-home code that
counts users of Alpine. This eliminates any information sent to the developers of Alpine by Alpine users. Based on work by Geoffrey Thomas.
Diffstat (limited to 'alpine/newuser.c')
-rw-r--r--alpine/newuser.c26
1 files changed, 3 insertions, 23 deletions
diff --git a/alpine/newuser.c b/alpine/newuser.c
index 804bedb0..f61ffae2 100644
--- a/alpine/newuser.c
+++ b/alpine/newuser.c
@@ -69,20 +69,6 @@ new_user_or_version(struct pine *ps)
shown_text = text;
/*
- * Set this if the major revision number
- * (the first after the dot) has changed.
- */
- ps->phone_home = (first_time_alpine_user
- || (ps->pine_pre_vers
- && isdigit((unsigned char) ps->pine_pre_vers[0])
- && ps->pine_pre_vers[1] == '.'
- && isdigit((unsigned char) ps->pine_pre_vers[2])
- && isdigit((unsigned char) vers[0])
- && vers[1] == '.'
- && isdigit((unsigned char) vers[2])
- && strncmp(ps->pine_pre_vers, vers, 3) < 0));
-
- /*
* At this point, shown_text is a charstarstar with html
* Turn it into a charstar with digested html
*/
@@ -140,15 +126,9 @@ new_user_or_version(struct pine *ps)
(nuov_keymenu.how_many * 12) * sizeof(struct key));
setbitmap(sargs.keys.bitmap);
- if(ps->phone_home){
- km.keys[NUOV_EXIT].label = "Exit this greeting";
- km.keys[NUOV_EXIT].bind.nch = 1;
- }
- else{
- km.keys[NUOV_EXIT].label = "[Exit this greeting]";
- km.keys[NUOV_EXIT].bind.nch = 3;
- clrbitn(NUOV_VIEW, sargs.keys.bitmap);
- }
+ km.keys[NUOV_EXIT].label = "[Exit this greeting]";
+ km.keys[NUOV_EXIT].bind.nch = 3;
+ clrbitn(NUOV_VIEW, sargs.keys.bitmap);
if(ps->first_time_user)
clrbitn(NUOV_RELNOTES, sargs.keys.bitmap);