[BusyBox 0001089]: can't compile networking/nslookup.c (with patch)

bugs at busybox.net bugs at busybox.net
Fri Nov 10 13:02:49 UTC 2006


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1089 
====================================================================== 
Reported By:                rockeychu
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1089
Category:                   Networking Support
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             11-10-2006 05:02 PST
Last Modified:              11-10-2006 05:02 PST
====================================================================== 
Summary:                    can't compile networking/nslookup.c (with patch)
Description: 
I think it's programmer's typo error, and it's better to compile code
before committing it.

Index: networking/nslookup.c
===================================================================
--- networking/nslookup.c       (revision 16525)
+++ networking/nslookup.c       (working copy)
@@ -82,7 +82,7 @@
                while (cur) {
                        sockaddr_to_dotted(cur->ai_addr, str,
sizeof(str));
                        printf("%s  %s\nAddress: %s", header, hostname,
str);
-                       s[0] = ' ';
+                       str[0] = ' ';
                        if (getnameinfo(cur->ai_addr, cur->ai_addrlen,
str+1, sizeof(str)-1, NULL, 0, NI_NAMEREQD))
                                str[0] = '\0';
                        puts(str);

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-10-06 05:02  rockeychu      New Issue                                    
11-10-06 05:02  rockeychu      Status                   new => assigned     
11-10-06 05:02  rockeychu      Assigned To               => BusyBox         
======================================================================




More information about the busybox-cvs mailing list