summaryrefslogtreecommitdiff
path: root/source3/nsswitch/libwbclient/wbclient.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-04-20 22:17:39 +0200
committerMichael Adam <obnox@samba.org>2008-04-20 22:29:36 +0200
commit8caaf0dc4331370793d7f79839ed75bb149c9e93 (patch)
tree58f267f5ea1ad1cdcfcc06a1604dd39a235fa9f6 /source3/nsswitch/libwbclient/wbclient.h
parentd7da0f57fa4564647637e025fd2f4c7ebd2e7293 (diff)
downloadsamba-8caaf0dc4331370793d7f79839ed75bb149c9e93.tar.gz
samba-8caaf0dc4331370793d7f79839ed75bb149c9e93.tar.bz2
samba-8caaf0dc4331370793d7f79839ed75bb149c9e93.zip
libwbclient: change wbcResolveWinsByIP() to take char ** instead of const char **
Fix a compile warning. This seems the right thing since the data is created by talloc_strdup... Michael (This used to be commit f81da8e8ed8e2d75c77bd8b5e7fdd7c53bab7e49)
Diffstat (limited to 'source3/nsswitch/libwbclient/wbclient.h')
-rw-r--r--source3/nsswitch/libwbclient/wbclient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/libwbclient/wbclient.h b/source3/nsswitch/libwbclient/wbclient.h
index a444c91da4..d73ea297a3 100644
--- a/source3/nsswitch/libwbclient/wbclient.h
+++ b/source3/nsswitch/libwbclient/wbclient.h
@@ -426,7 +426,7 @@ wbcErr wbcAuthenticateUserEx(const struct wbcAuthUserParams *params,
* Resolve functions
*/
wbcErr wbcResolveWinsByName(const char *name, char **ip);
-wbcErr wbcResolveWinsByIP(const char *ip, const char **name);
+wbcErr wbcResolveWinsByIP(const char *ip, char **name);
/*
* Trusted domain functions