diff options
Diffstat (limited to 'src/lib/merchant_api_post_instance_auth.c')
-rw-r--r-- | src/lib/merchant_api_post_instance_auth.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/lib/merchant_api_post_instance_auth.c b/src/lib/merchant_api_post_instance_auth.c index e2936c5c..a5a2a480 100644 --- a/src/lib/merchant_api_post_instance_auth.c +++ b/src/lib/merchant_api_post_instance_auth.c @@ -174,8 +174,6 @@ TALER_MERCHANT_instance_auth_post ( } else { - char *enc; - if (0 != strncasecmp (RFC_8959_PREFIX, auth_token, strlen (RFC_8959_PREFIX))) @@ -187,15 +185,11 @@ TALER_MERCHANT_instance_auth_post ( GNUNET_free (iaph); return NULL; } - (void) GNUNET_STRINGS_urlencode (auth_token, - strlen (auth_token), - &enc); req_obj = GNUNET_JSON_PACK ( GNUNET_JSON_pack_string ("method", "token"), GNUNET_JSON_pack_string ("token", - enc)); - GNUNET_free (enc); + auth_token)); } GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Requesting URL '%s'\n", |