mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
Fix two incompatible pointer warnings
Jeremy, please check (This used to be commit 60500fac30911500eade7c2a9aa13569dcab0911)
This commit is contained in:
parent
6e995e4f8c
commit
0cdcd255a5
@ -238,7 +238,7 @@ static struct chat_struct *make_pw_chat(const char *p)
|
||||
strlower_m(t->prompt);
|
||||
trim_char(t->prompt, ' ', ' ');
|
||||
|
||||
if (!next_token_talloc(frame, &p, reply, NULL)) {
|
||||
if (!next_token_talloc(frame, &p, &reply, NULL)) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -655,7 +655,7 @@ bool initialise_wins(void)
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!next_token_talloc(frame,&ptr,ttl_str,NULL)) {
|
||||
if (!next_token_talloc(frame,&ptr,&ttl_str,NULL)) {
|
||||
DEBUG(0,("initialise_wins: Failed to parse time to live when parsing line %s\n", line ));
|
||||
TALLOC_FREE(frame);
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user