Skip to content

Commit

Permalink
Typo?
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Oct 10, 2013
1 parent 5fbe67e commit 020519b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/modules/rlm_rest/rest.c
Original file line number Diff line number Diff line change
Expand Up @@ -511,10 +511,8 @@ static size_t rest_encode_post(void *ptr, size_t size, size_t nmemb,
p += len;
s -= len;

if (!vp) {
if (!--s) goto no_space;
*p++ = '&';
}
if (!--s) goto no_space;
*p++ = '&';

/*
* We wrote one full attribute value pair, record progress.
Expand Down

0 comments on commit 020519b

Please sign in to comment.