diff options
| author | Christian Grothoff <christian@grothoff.org> | 2020-03-01 17:51:46 +0100 |
|---|---|---|
| committer | Christian Grothoff <christian@grothoff.org> | 2020-03-01 17:51:46 +0100 |
| commit | 113f3891d13a15b87827a8b1b33508231a1409b7 (patch) | |
| tree | 8b665c481282b0d3778deee534fd2b36b992608c /src/exchange/taler-exchange-httpd.c | |
| parent | c11475c081afcd5ccc667451b9383510fd42cf1b (diff) | |
removing dead code, using more named constants, checking return values better
Diffstat (limited to 'src/exchange/taler-exchange-httpd.c')
| -rw-r--r-- | src/exchange/taler-exchange-httpd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c index 153bb19f..0061ac86 100644 --- a/src/exchange/taler-exchange-httpd.c +++ b/src/exchange/taler-exchange-httpd.c @@ -615,6 +615,8 @@ handle_mhd_request (void *cls, /* strange, should start with '/', treat as just "/" */ url = "/"; start = strchr (url + 1, '/'); + if (NULL == start) + start = ""; ret = proceed_with_handler (ecls->rh, connection, start, |
