aboutsummaryrefslogtreecommitdiff
path: root/src/util/mq.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-03 17:29:13 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-03 17:29:13 +0200
commite40e5bfcd40be2bbdce8a00066709bcf85b8c79c (patch)
treeef4d9a5b31ff6c960a855248a56f12c9e532c2e7 /src/util/mq.c
parentf50af5edddee3a5d7d353b3829829c00a16890cc (diff)
downloadgnunet-e40e5bfcd40be2bbdce8a00066709bcf85b8c79c.tar.gz
gnunet-e40e5bfcd40be2bbdce8a00066709bcf85b8c79c.zip
bad sizeof
Diffstat (limited to 'src/util/mq.c')
-rw-r--r--src/util/mq.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/util/mq.c b/src/util/mq.c
index 003e0955d..78dc7dba2 100644
--- a/src/util/mq.c
+++ b/src/util/mq.c
@@ -297,7 +297,8 @@ done:
297 * @param error the error type 297 * @param error the error type
298 */ 298 */
299void 299void
300GNUNET_MQ_inject_error (struct GNUNET_MQ_Handle *mq, enum GNUNET_MQ_Error error) 300GNUNET_MQ_inject_error (struct GNUNET_MQ_Handle *mq,
301 enum GNUNET_MQ_Error error)
301{ 302{
302 if (NULL == mq->error_handler) 303 if (NULL == mq->error_handler)
303 { 304 {
@@ -306,7 +307,8 @@ GNUNET_MQ_inject_error (struct GNUNET_MQ_Handle *mq, enum GNUNET_MQ_Error error)
306 (int) error); 307 (int) error);
307 return; 308 return;
308 } 309 }
309 mq->error_handler (mq->error_handler_cls, error); 310 mq->error_handler (mq->error_handler_cls,
311 error);
310} 312}
311 313
312 314