git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
autoconf: fix --with(out)-sendfile-support option handling
[samba.git]
/
nsswitch
/
winbind_nss_linux.c
diff --git
a/nsswitch/winbind_nss_linux.c
b/nsswitch/winbind_nss_linux.c
index 2b51a8e15dbf6de4c7d848b745c53ab189e173f3..4a7943278ea9f1b71730d0e8b75827956ddc3812 100644
(file)
--- a/
nsswitch/winbind_nss_linux.c
+++ b/
nsswitch/winbind_nss_linux.c
@@
-105,8
+105,8
@@
static bool next_token_alloc(const char **ptr,
char **pp_buff,
const char *sep)
{
- char *s;
- char *saved_s;
+ c
onst c
har *s;
+ c
onst c
har *saved_s;
char *pbuf;
bool quoted;
size_t len=1;
@@
-116,7
+116,7
@@
static bool next_token_alloc(const char **ptr,
return(false);
}
- s =
(char *)
*ptr;
+ s = *ptr;
/* default to simple separators */
if (!sep) {