From 4ebaf1074218d4e1c2907114bc53080c5abbd57d Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 19 Jan 2007 21:33:19 +0000 Subject: strdup -> xstrdup sed: de-obfuscate piece of code --- networking/udhcp/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking/udhcp') diff --git a/networking/udhcp/files.c b/networking/udhcp/files.c index 5e399e1f8..9ade4ae6d 100644 --- a/networking/udhcp/files.c +++ b/networking/udhcp/files.c @@ -56,7 +56,7 @@ static int read_str(const char *line, void *arg) char **dest = arg; free(*dest); - *dest = strdup(line); + *dest = xstrdup(line); return 1; } -- cgit v1.2.3