diff options
Diffstat (limited to 'src/backend/taler-merchant-httpd.c')
-rw-r--r-- | src/backend/taler-merchant-httpd.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c index 91840559..66dcc461 100644 --- a/src/backend/taler-merchant-httpd.c +++ b/src/backend/taler-merchant-httpd.c | |||
@@ -167,7 +167,7 @@ is_valid_correlation_id (const char *correlation_id) | |||
167 | { | 167 | { |
168 | if (strlen (correlation_id) >= 64) | 168 | if (strlen (correlation_id) >= 64) |
169 | return GNUNET_NO; | 169 | return GNUNET_NO; |
170 | for (int i = 0; i < strlen (correlation_id); i++) | 170 | for (size_t i = 0; i < strlen (correlation_id); i++) |
171 | if (! (isalnum (correlation_id[i]) ||(correlation_id[i] == '-'))) | 171 | if (! (isalnum (correlation_id[i]) ||(correlation_id[i] == '-'))) |
172 | return GNUNET_NO; | 172 | return GNUNET_NO; |
173 | return GNUNET_YES; | 173 | return GNUNET_YES; |
@@ -1142,6 +1142,8 @@ url_handler (void *cls, | |||
1142 | int ret; | 1142 | int ret; |
1143 | struct TMH_RequestHandler *selected_handler = NULL; | 1143 | struct TMH_RequestHandler *selected_handler = NULL; |
1144 | 1144 | ||
1145 | (void) cls; | ||
1146 | (void) version; | ||
1145 | if (NULL == hc) | 1147 | if (NULL == hc) |
1146 | { | 1148 | { |
1147 | GNUNET_async_scope_fresh (&aid); | 1149 | GNUNET_async_scope_fresh (&aid); |
@@ -1330,6 +1332,9 @@ run (void *cls, | |||
1330 | { | 1332 | { |
1331 | int fh; | 1333 | int fh; |
1332 | 1334 | ||
1335 | (void) cls; | ||
1336 | (void) args; | ||
1337 | (void) cfgfile; | ||
1333 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 1338 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
1334 | "Starting taler-merchant-httpd\n"); | 1339 | "Starting taler-merchant-httpd\n"); |
1335 | 1340 | ||