Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Oct 3, 2014
1 parent 8d6f076 commit 15e347c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/tmpl.c
Expand Up @@ -1162,7 +1162,7 @@ ssize_t tmpl_afrom_str(TALLOC_CTX *ctx, value_pair_tmpl_t **out, char const *nam
* If we can parse it as an attribute, it's an attribute.
* Otherwise, treat it as a literal.
*/
slen = tmpl_afrom_attr_str(&vpt, ctx, name, request_def, list_def);
slen = tmpl_afrom_attr_str(ctx, &vpt, name, request_def, list_def);
if ((name[0] == '&') && (slen <= 0)) return slen;
if (slen > 0) break;
/* FALL-THROUGH */
Expand Down

0 comments on commit 15e347c

Please sign in to comment.