aboutsummaryrefslogtreecommitdiff
path: root/src/util/bandwidth.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-07-26 12:27:28 +0000
committerChristian Grothoff <christian@grothoff.org>2016-07-26 12:27:28 +0000
commit65a922f1144a89ad9aa95a29899fc3338ad8a35a (patch)
treef39ae23be05b5da4ba0b122904aa1d35a481f753 /src/util/bandwidth.c
parent874f5684e15a99d6ed4316088d33dca55f484c33 (diff)
downloadgnunet-65a922f1144a89ad9aa95a29899fc3338ad8a35a.tar.gz
gnunet-65a922f1144a89ad9aa95a29899fc3338ad8a35a.zip
change time multiplication/division API to long long to avoid accidental range reduction
Diffstat (limited to 'src/util/bandwidth.c')
-rw-r--r--src/util/bandwidth.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/bandwidth.c b/src/util/bandwidth.c
index 61677fdcf..008963c3c 100644
--- a/src/util/bandwidth.c
+++ b/src/util/bandwidth.c
@@ -147,7 +147,11 @@ excess_trigger (void *cls)
147 147
148 av->excess_task = NULL; 148 av->excess_task = NULL;
149 if (NULL != av->excess_cb) 149 if (NULL != av->excess_cb)
150 {
151 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
152 "Notifying application about excess bandwidth\n");
150 av->excess_cb (av->excess_cb_cls); 153 av->excess_cb (av->excess_cb_cls);
154 }
151} 155}
152 156
153 157