Bug 197 - WINS server list bug in SWAT wizard
Summary: WINS server list bug in SWAT wizard
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: SWAT (show other bugs)
Version: 3.0.0preX
Hardware: Other other
: P2 normal
Target Milestone: none
Assignee: Jelmer Vernooij
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-01 18:06 UTC by Tim Potter
Modified: 2005-08-24 10:22 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Potter 2003-07-01 18:06:53 UTC
The following compiler warning points out a probable bug in the SWAT wizard:

Compiling web/swat.c
web/swat.c: In function `wizard_page':
web/swat.c:742: warning: char format, pointer arg (arg 2)

The offending line is:

d_printf("<tr><td></td><td></td><td></td><td>Remote WINS Server&nbsp;<input
type=text size=\"16\" name=\"WINSAddr\"
value=\"%s\"></td></tr>",lp_wins_server_list());

which is trying to display a char** instead of a char *.
Comment 1 Tim Potter 2003-07-01 18:30:55 UTC
Changing version to beta1.
Comment 2 Jelmer Vernooij 2003-08-19 08:16:55 UTC
Fixed in CVS.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-02-07 08:38:52 UTC
originally reported against 3.0.0beta1.  CLeaning out 
non-production release versions.
Comment 4 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:22:19 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.