diff options
Diffstat (limited to 'libbb/inet_common.c')
-rw-r--r-- | libbb/inet_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/inet_common.c b/libbb/inet_common.c index d8e00353e..9cdcb11de 100644 --- a/libbb/inet_common.c +++ b/libbb/inet_common.c | |||
@@ -158,7 +158,7 @@ int INET_rresolve(char *name, size_t len, struct sockaddr_in *s_in, | |||
158 | if ((ent == NULL) && (np == NULL)) { | 158 | if ((ent == NULL) && (np == NULL)) { |
159 | safe_strncpy(name, inet_ntoa(s_in->sin_addr), len); | 159 | safe_strncpy(name, inet_ntoa(s_in->sin_addr), len); |
160 | } | 160 | } |
161 | pn = (struct addr *) xmalloc(sizeof(struct addr)); | 161 | pn = xmalloc(sizeof(struct addr)); |
162 | pn->addr = *s_in; | 162 | pn->addr = *s_in; |
163 | pn->next = INET_nn; | 163 | pn->next = INET_nn; |
164 | pn->host = host; | 164 | pn->host = host; |