]> diplodocus.org Git - nmh/commitdiff
Since our last caller of getlocaladdr() was removed, garbage-collect this
authorKen Hornstein <kenh@pobox.com>
Mon, 2 Dec 2013 18:41:51 +0000 (13:41 -0500)
committerKen Hornstein <kenh@pobox.com>
Mon, 2 Dec 2013 18:41:51 +0000 (13:41 -0500)
function.

h/addrsbr.h
sbr/addrsbr.c

index a753e6239fbd6049cefa340a4e4e8cbc67614609..25d6a755ee0ff5498444689c9f340bb3a5966f0e 100644 (file)
@@ -57,7 +57,7 @@ int ismymbox(struct mailname *);
  */
 
 char *getname(const char *header);
  */
 
 char *getname(const char *header);
-char *getlocaladdr(void);
+
 char *auxformat(struct mailname *, int);
 
 /*
 char *auxformat(struct mailname *, int);
 
 /*
index 231a50415f20294fc8cd9f9b83b79d1915037cff..a073e70768be633a66e68d16ab6d0f6138c33c5c 100644 (file)
@@ -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
 #define        W_NIL   0x0000
 #define        W_MBEG  0x0001
 #define        W_MEND  0x0002