Remove debugging statement.
[oweals/busybox.git] / tftp.c
diff --git a/tftp.c b/tftp.c
index 466851c1b33748b88f8b604f6c6171e3edccfdf7..bb75c88ecf9e6d2af972aa75e5e1d217a78f8fbc 100644 (file)
--- a/tftp.c
+++ b/tftp.c
@@ -390,15 +390,10 @@ int tftp_main(int argc, char **argv)
                s = xstrdup(serverstr);
                s[cp - serverstr] = '\0';
 
-               if ((host = gethostbyname(s))) {
-                       bad = 0;
-               }
+               host = xgethostbyname(s);
 
                free(s);
        }
-       if (bad) {
-               error_msg_and_die("bad \"server:file\" combination");
-       }
 
        if (BB_TFTP_DEBUG) {
                printf("using server \"%s\", serverfile \"%s\","