summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/auth/pampass.c2
-rw-r--r--source3/nmbd/nmbd_winsserver.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/pampass.c b/source3/auth/pampass.c
index 554df3c157..58921bdf15 100644
--- a/source3/auth/pampass.c
+++ b/source3/auth/pampass.c
@@ -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;
}
diff --git a/source3/nmbd/nmbd_winsserver.c b/source3/nmbd/nmbd_winsserver.c
index 7dafa66b11..7344a29fe4 100644
--- a/source3/nmbd/nmbd_winsserver.c
+++ b/source3/nmbd/nmbd_winsserver.c
@@ -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;