チケット #37530

Plugin does not build with dovecot v2.2.26

登録: 2017-09-23 04:48 最終更新: 2017-09-23 04:48

報告者:
(匿名)
担当者:
(未割り当て)
チケットの種類:
状況:
オープン
コンポーネント:
(未割り当て)
マイルストーン:
(未割り当て)
優先度:
7
重要度:
7
解決法:
なし
ファイル:
なし

詳細

Fix timeout_add for dovecot 2.2.26 and later.

Dovecot	commit dfa23b2ddc43f323112225facf7cd7191e62e02c	changed	the timeout
function for v2.2.26 and later to also contain the filename.

Add the __FILE__ macro to make it work.

Signoff-By: Andreas Thienemann <andreas@bawue.net>

--- dovecot2-drac/drac-plugin.c.orig    2017-09-22 19:43:25.842898210 +0000
+++ dovecot2-drac/drac-plugin.c 2017-09-22 19:42:40.186347078 +0000
@@ -98,7 +98,7 @@
         drac_timeout(NULL);
 #undef timeout_add
 #define timeout_add(msecs, callback, context) \
-        timeout_add(msecs, __LINE__, callback, context)
+        timeout_add(msecs, __FILE__, __LINE__, callback, context)
         to_drac = timeout_add(1000*dractout, drac_timeout, NULL);
     } else {
         i_error("%s: Only IPv4 and IPv6 addresses are supported", __FUNCTION__);

チケットの履歴 (1 件中 1 件表示)

2017-09-23 04:48 更新者: None
  • 新しいチケット "Plugin does not build with dovecot v2.2.26" が作成されました

添付ファイルリスト

添付ファイルはありません

編集

ログインしていません。ログインしていない状態では、コメントに記載者の記録が残りません。 » ログインする