X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/487ad115de1c5a97ab4e61bbf3f3bbbdbd97b258..322ec5e23a4560d27747eefef168cf8f97553b17:/sbr/addrsbr.c?ds=sidebyside diff --git a/sbr/addrsbr.c b/sbr/addrsbr.c index bb0b2c78..a073e707 100644 --- a/sbr/addrsbr.c +++ b/sbr/addrsbr.c @@ -78,7 +78,7 @@ static char adr[BUFSIZ]; char * -getname (char *addrs) +getname (const char *addrs) { struct adrx *ap; @@ -271,24 +271,6 @@ auxformat (struct mailname *mp, int extras) } -/* - * This used to be adrsprintf() (where it would format an address for you - * given a username and a domain). But somewhere we got to the point where - * the only caller was post, and it only called it with both arguments NULL. - * So the function was renamed with a more sensible name. - */ - -char * -getlocaladdr(void) -{ - char *username; - - username = getusername(); - - return username; -} - - #define W_NIL 0x0000 #define W_MBEG 0x0001 #define W_MEND 0x0002