Bug 471 - smbclient calls lp_set_name_resolve_order using a char const *
Summary: smbclient calls lp_set_name_resolve_order using a char const *
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: smbclient (show other bugs)
Version: 3.0.0preX
Hardware: All Linux
: P5 minor
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact:
Depends on:
Reported: 2003-09-17 17:52 UTC by Matt Seitz
Modified: 2005-11-14 09:31 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Matt Seitz 2003-09-17 17:52:08 UTC
gcc-2.96-113 reports a warning in function main in client/client.c:

"warning:  passing arg 1 of 'lp_set_name_resolve_order' discards qualifiers from
pointer target type"

Either "new_name_resolve_order" needs to be changed to "char *", or 
"lp_set_name_resolve_order" needs to accept a "char const *".
Comment 1 Matt Seitz 2003-09-17 17:56:00 UTC
Corrected summary to refer to "smbclient" instead of "libsmbclient"
Comment 2 Jeremy Allison 2003-11-06 14:07:17 UTC
Fixed in CVS.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-02-07 09:06:12 UTC
originally reported against one of the 3.0.0rc[1-4] releases.
Cleaning up non-production versions.
Comment 4 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:19:49 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
Comment 5 Gerald (Jerry) Carter (dead mail address) 2005-11-14 09:31:18 UTC
database cleanup