| # | Line 715 | Line 715 | static struct UserInfo *userinfo_create( | |
|---|---|---|
| 715 | int i, len; | |
| 716 | ||
| 717 | nick = username = hostname = NULL; | |
| 718 | < | tmp = DupString(source); |
| 718 | > | tmp = xstrdup(source); |
| 719 | len = strlen(tmp); | |
| 720 | ||
| 721 | nick = tmp; | |
| # | Line 742 | Line 742 | static struct UserInfo *userinfo_create( | |
| 742 | ||
| 743 | ret = MyMalloc(sizeof *ret); | |
| 744 | ||
| 745 | < | ret->irc_nick = DupString(nick); |
| 746 | < | ret->irc_username = DupString(username); |
| 747 | < | ret->irc_hostname = DupString(hostname); |
| 745 | > | ret->irc_nick = xstrdup(nick); |
| 746 | > | ret->irc_username = xstrdup(username); |
| 747 | > | ret->irc_hostname = xstrdup(hostname); |
| 748 | ||
| 749 | MyFree(tmp); | |
| 750 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |