[BusyBox 0001089]: can't compile networking/nslookup.c (with patch)
bugs at busybox.net
bugs at busybox.net
Wed Nov 15 18:24:37 PST 2006
The following issue has been CLOSED
======================================================================
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: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 11-10-2006 05:02 PST
Last Modified: 11-15-2006 18:24 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);
======================================================================
----------------------------------------------------------------------
vda - 11-15-06 18:24
----------------------------------------------------------------------
Already fixed, but thanks anyway
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
11-15-06 18:24 vda Status assigned => closed
11-15-06 18:24 vda Note Added: 0001741
======================================================================
More information about the busybox-cvs
mailing list