]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fixup rlm_rest escape function
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 30 Oct 2012 19:08:53 +0000 (19:08 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 30 Oct 2012 19:25:57 +0000 (19:25 +0000)
src/modules/rlm_rest/rest.c

index 87dc9f6d6ef0806e790eaf1687c8a8cbfb278fb2..60e576c75c7c1f8e37636026d43847800a6c1324 100644 (file)
@@ -2318,7 +2318,8 @@ void rest_request_cleanup(UNUSED rlm_rest_t *instance,
  * @param[in] raw string to be urlencoded.
  * @return length of data written to out (excluding NULL).
  */
-static size_t rest_uri_escape(char *out, size_t outlen, const char *raw)
+static size_t rest_uri_escape(UNUSED REQUEST *request, char *out, size_t outlen,
+                             const char *raw, UNUSED void *arg)
 {
        char *escaped;