2 * Copyright notice from original mutt:
5 * This file is part of mutt-ng, see http://www.muttng.org/.
6 * It's licensed under the GNU General Public License,
7 * please see the file GPL in the top level source directory.
10 /* ultrix doesn't have strdup */
15 char *strdup (const char *s)
16 { /* __MEM_CHECKED__ */
22 if ((d = malloc (str_len (s) + 1)) == NULL) /* __MEM_CHECKED__ */
25 memcpy (d, s, str_len (s) + 1);