diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-18 00:44:39 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-18 00:44:39 +0200 |
commit | 7f4ddbcab8598e3d5e29c23ce883cdfa664408f1 (patch) | |
tree | 5f1b18463f641f24fad519e0aefb60b97d707b52 /src/cadet/cadet_api.c | |
parent | 28ab2c446fba4980a8295d59fdf203a028a35dd6 (diff) | |
download | gnunet-7f4ddbcab8598e3d5e29c23ce883cdfa664408f1.tar.gz gnunet-7f4ddbcab8598e3d5e29c23ce883cdfa664408f1.zip |
merge flags into enum for GNUNET_DISK_pipe() API, fixing #6188
Diffstat (limited to 'src/cadet/cadet_api.c')
-rw-r--r-- | src/cadet/cadet_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c index 67f6571c5..45cc508a6 100644 --- a/src/cadet/cadet_api.c +++ b/src/cadet/cadet_api.c | |||
@@ -1001,8 +1001,8 @@ GNUNET_CADET_open_port (struct GNUNET_CADET_Handle *h, | |||
1001 | p->window_changes = window_changes; | 1001 | p->window_changes = window_changes; |
1002 | p->disconnects = disconnects; | 1002 | p->disconnects = disconnects; |
1003 | p->handlers = (NULL == pd->agpl_url) | 1003 | p->handlers = (NULL == pd->agpl_url) |
1004 | ? GNUNET_MQ_copy_handlers (handlers) | 1004 | ? GNUNET_MQ_copy_handlers (handlers) |
1005 | : GNUNET_MQ_copy_handlers2 (handlers, &return_agpl, NULL); | 1005 | : GNUNET_MQ_copy_handlers2 (handlers, &return_agpl, NULL); |
1006 | 1006 | ||
1007 | GNUNET_assert (GNUNET_OK == open_port_cb (h, &p->id, p)); | 1007 | GNUNET_assert (GNUNET_OK == open_port_cb (h, &p->id, p)); |
1008 | return p; | 1008 | return p; |