d628b9b0 |
1 | --- ../cache/alpine-2.20/imap/src/mtest/mtest.c 2015-01-12 05:12:25.501178422 +0000 |
2 | +++ ./imap/src/mtest/mtest.c 2016-12-11 21:13:22.392577687 +0000 |
3 | @@ -97,21 +97,7 @@ |
4 | } |
5 | #endif |
6 | curusr = cpystr (((s = myusername ()) && *s) ? s : "somebody"); |
7 | -#if UNIXLIKE |
8 | - { |
9 | - char *suffix; |
10 | - struct passwd *pwd = getpwnam (curusr); |
11 | - if (pwd) { |
12 | - strcpy (tmp,pwd->pw_gecos); |
13 | - /* dyke out the office and phone poop */ |
14 | - if (suffix = strchr (tmp,',')) suffix[0] = '\0'; |
15 | - strcpy (personalname,tmp);/* make a permanent copy of it */ |
16 | - } |
17 | - else personalname[0] = '\0'; |
18 | - } |
19 | -#else |
20 | personalname[0] = '\0'; |
21 | -#endif |
22 | curhst = cpystr (mylocalhost ()); |
23 | puts ("MTest -- C client test program"); |
24 | if (!*personalname) prompt ("Personal name: ",personalname, sizeof(personalname)); |