summaryrefslogtreecommitdiff
path: root/networking/udhcp/files.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-01-19 21:33:19 +0000
committerDenis Vlasenko2007-01-19 21:33:19 +0000
commit4ebaf1074218d4e1c2907114bc53080c5abbd57d (patch)
tree8abee9b7a3ed71e5e224096246b9c43fee3b3e44 /networking/udhcp/files.c
parent2405ad659e2596b17c88e7b950c086159d06cc6e (diff)
downloadbusybox-4ebaf1074218d4e1c2907114bc53080c5abbd57d.zip
busybox-4ebaf1074218d4e1c2907114bc53080c5abbd57d.tar.gz
strdup -> xstrdup
sed: de-obfuscate piece of code
Diffstat (limited to 'networking/udhcp/files.c')
-rw-r--r--networking/udhcp/files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/files.c b/networking/udhcp/files.c
index 5e399e1..9ade4ae 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;
}