Skip to content

Commit

Permalink
If no input...
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Jan 26, 2018
1 parent cb8df29 commit bab0b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rlm_rest/rlm_rest.c
Expand Up @@ -273,7 +273,7 @@ static xlat_action_t rest_xlat(UNUSED TALLOC_CTX *ctx, UNUSED fr_cursor_t *out,
rlm_rest_xlat_rctx_t *rctx;
rlm_rest_section_t *section;

if (*in) {
if (!*in) {
REDEBUG("Got empty URL string");
return XLAT_ACTION_FAIL;
}
Expand Down

0 comments on commit bab0b40

Please sign in to comment.