-handle 204 better
This commit is contained in:
parent
978a90e79b
commit
f1a0ba628e
@ -180,7 +180,8 @@ credit_history_cb (void *cls,
|
|||||||
{
|
{
|
||||||
if ( (MHD_HTTP_NO_CONTENT != http_status) ||
|
if ( (MHD_HTTP_NO_CONTENT != http_status) ||
|
||||||
(TALER_EC_NONE != ec) ||
|
(TALER_EC_NONE != ec) ||
|
||||||
(NULL == details) )
|
( (MHD_HTTP_NO_CONTENT != http_status) &&
|
||||||
|
(NULL == details) ) )
|
||||||
{
|
{
|
||||||
if (0 == http_status)
|
if (0 == http_status)
|
||||||
{
|
{
|
||||||
@ -293,7 +294,8 @@ debit_history_cb (void *cls,
|
|||||||
{
|
{
|
||||||
if ( (MHD_HTTP_NO_CONTENT != http_status) ||
|
if ( (MHD_HTTP_NO_CONTENT != http_status) ||
|
||||||
(TALER_EC_NONE != ec) ||
|
(TALER_EC_NONE != ec) ||
|
||||||
(NULL == details) )
|
( (MHD_HTTP_NO_CONTENT != http_status) &&
|
||||||
|
(NULL == details) ) )
|
||||||
{
|
{
|
||||||
if (0 == http_status)
|
if (0 == http_status)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user