Skip to content

Commit

Permalink
Token user=... ends the line. (#6)
Browse files Browse the repository at this point in the history
Thanks
  • Loading branch information
Florian Wagner authored Mar 6, 2022
1 parent f0c4ea4 commit 242ccb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod_authn_dovecot.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ int receive_data(apr_pool_t * p, request_rec * r, struct connection_state *cs, c
cs->authenticated = 1;
apr_strtok(data, "\t", &last);
apr_strtok(NULL, "\t", &last);
user = apr_strtok(NULL, "\t", &last); /* "OK" */
user = apr_strtok(NULL, "\n", &last); /* "OK" */
next = apr_strtok(NULL, "\t", &last); /* "1" */
if (user != NULL &&
(next == NULL || (next - user) >
Expand Down

0 comments on commit 242ccb2

Please sign in to comment.