From d7da0f57fa4564647637e025fd2f4c7ebd2e7293 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sun, 20 Apr 2008 22:13:40 +0200 Subject: libwbclient: fix wbcResolveWinsByName() to take char * instead of const char ** This fixes a compile warning and seems the correct thing to me as the returned data is talloc_strdup't, so not const anyways. Michael (This used to be commit 13cfa7f48a541a934a129fab0544cbf66029c4c7) --- source3/nsswitch/libwbclient/wbclient.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/nsswitch/libwbclient/wbclient.h') diff --git a/source3/nsswitch/libwbclient/wbclient.h b/source3/nsswitch/libwbclient/wbclient.h index 05cee9ab2b..a444c91da4 100644 --- a/source3/nsswitch/libwbclient/wbclient.h +++ b/source3/nsswitch/libwbclient/wbclient.h @@ -425,7 +425,7 @@ wbcErr wbcAuthenticateUserEx(const struct wbcAuthUserParams *params, /* * Resolve functions */ -wbcErr wbcResolveWinsByName(const char *name, const char **ip); +wbcErr wbcResolveWinsByName(const char *name, char **ip); wbcErr wbcResolveWinsByIP(const char *ip, const char **name); /* -- cgit