summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-05-15 13:54:58 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-05-15 13:54:58 +0200
commit650fbad5b606361507b457c835c4b127c4405594 (patch)
tree75e763ebe5d7d39f036562da87ab03cd3e83def6
parentfe0013a8551a788d8999f5e88c923d9ee3ebc2fb (diff)
downloadtwister-650fbad5b606361507b457c835c4b127c4405594.tar.gz
twister-650fbad5b606361507b457c835c4b127c4405594.tar.bz2
twister-650fbad5b606361507b457c835c4b127c4405594.zip
debug stmt
-rw-r--r--src/twister/taler-twister-service.c6
-rw-r--r--src/twister/twister_api.c4
2 files changed, 10 insertions, 0 deletions
diff --git a/src/twister/taler-twister-service.c b/src/twister/taler-twister-service.c
index 7108e39..8ace6f6 100644
--- a/src/twister/taler-twister-service.c
+++ b/src/twister/taler-twister-service.c
@@ -541,7 +541,9 @@ curl_download_cb (void *ptr,
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Curl download proceeding\n");
+
GNUNET_assert (REQUEST_STATE_DOWNLOAD_STARTED == hr->state);
+
if (hr->io_size - hr->io_len < total)
{
GNUNET_assert (total + hr->io_size >= total);
@@ -1236,6 +1238,10 @@ create_response (void *cls,
hr->io_len = malformed_size;
}
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "About to check flip path UL: %s\n",
+ flip_path_ul);
+
/* Upload (from the *client*) finished,
* generate curl request to the proxied service. */
if (NULL == hr->curl)
diff --git a/src/twister/twister_api.c b/src/twister/twister_api.c
index c59e37a..672e434 100644
--- a/src/twister/twister_api.c
+++ b/src/twister/twister_api.c
@@ -325,6 +325,10 @@ TALER_TWISTER_flip_upload
struct GNUNET_MQ_Envelope *env;
struct TWISTER_FlipPath *src; //FIXME 'src' right name?
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Will UL-flip: %s\n",
+ path);
+
op = GNUNET_new (struct TALER_TWISTER_Operation);
op->h = h;
op->cb = cb;