diff options
author | Steven Barth <steven@midlink.org> | 2009-06-20 07:24:09 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-06-20 07:24:09 +0000 |
commit | a90206c089832d54b1f5ffde940af2e07e10fed3 (patch) | |
tree | d007893342514a0c97e7332358dc1d1a7e449c57 /libs/sgi-webuci/boa-patches/110-host_lookup.patch | |
parent | 7355eccc2114b17754a028cb98fc3eee18a232b6 (diff) |
Drop webuci (obsolete)
Diffstat (limited to 'libs/sgi-webuci/boa-patches/110-host_lookup.patch')
-rw-r--r-- | libs/sgi-webuci/boa-patches/110-host_lookup.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/libs/sgi-webuci/boa-patches/110-host_lookup.patch b/libs/sgi-webuci/boa-patches/110-host_lookup.patch deleted file mode 100644 index 89467e419..000000000 --- a/libs/sgi-webuci/boa-patches/110-host_lookup.patch +++ /dev/null @@ -1,22 +0,0 @@ -Index: boa-0.94.13/src/config.c -=================================================================== ---- boa-0.94.13.orig/src/config.c 2008-06-29 00:55:19.000000000 +0200 -+++ boa-0.94.13/src/config.c 2008-06-29 00:59:08.000000000 +0200 -@@ -273,12 +273,12 @@ - } - - he = gethostbyname(temp_name); -- if (he == NULL) { -- perror("gethostbyname:"); -- exit(1); -- } -+ if (he && he->h_name) -+ server_name = he->h_name; -+ else -+ server_name = "OpenWrt"; - -- server_name = strdup(he->h_name); -+ server_name = strdup(server_name); - if (server_name == NULL) { - perror("strdup:"); - exit(1); |