)]}'
{"id":"openvpn~915","triplet_id":"openvpn~master~Ib579c1538eb5440bb7008bc866a5cb7d74844374","project":"openvpn","branch":"master","full_branch":"refs/heads/master","attention_set":{},"removed_from_attention_set":{"1000003":{"account":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"last_update":"2025-03-24 13:54:00.000000000","reason":"Change was submitted"},"1000001":{"account":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"last_update":"2025-03-24 13:32:07.000000000","reason":"removed on reply"}},"hashtags":[],"change_id":"Ib579c1538eb5440bb7008bc866a5cb7d74844374","subject":"Directly use _countof in array initialisation","status":"MERGED","created":"2025-03-24 13:18:27.000000000","updated":"2025-03-24 13:54:00.000000000","submitted":"2025-03-24 13:54:00.000000000","submitter":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"915","meta_rev_id":"5f5258e8299bea649821ef416f173d2e7d46a6d7","_number":915,"virtual_id_number":915,"owner":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"actions":{},"labels":{"Code-Review":{"all":[{"value":0,"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},{"value":0,"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."}],"values":{"-2":"This shall not be submitted","-1":"I would prefer this is not submitted as is"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me, approved"},"description":"","default_value":0}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."}],"CC":[{"_account_id":1000026,"name":"openvpn-devel","email":"openvpn-devel@lists.sourceforge.net","username":"openvpn-devel"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2025-03-24 13:18:28.000000000","updated_by":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"real_updated_by":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"reviewer":{"_account_id":1000026,"name":"openvpn-devel","email":"openvpn-devel@lists.sourceforge.net","username":"openvpn-devel"},"state":"CC"},{"updated":"2025-03-24 13:18:28.000000000","updated_by":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"real_updated_by":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"reviewer":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"state":"REVIEWER"}],"messages":[{"id":"54298909aca60cad2617f2e6000b21dbd2986ba4","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"date":"2025-03-24 13:18:27.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"fb7da31e32f42b0a4d863c64d970dabb6e51bbc2","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"date":"2025-03-24 13:19:38.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"cc80632a4ff1aa98342a8002dedcc8d9adfce004","author":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"date":"2025-03-24 13:32:07.000000000","message":"Patch Set 2: Code-Review+2","accounts_in_message":[],"_revision_number":2},{"id":"5f5258e8299bea649821ef416f173d2e7d46a6d7","tag":"autogenerated:gerrit:merged","author":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"date":"2025-03-24 13:54:00.000000000","message":"Change has been successfully pushed.","accounts_in_message":[],"_revision_number":3}],"current_revision_number":3,"current_revision":"1fc44d3b2ad3b96405650754a6e43f1576cda132","revisions":{"b26d2e132548c77e0480abc3d542c7659cd97560":{"kind":"REWORK","_number":1,"created":"2025-03-24 13:18:27.000000000","uploader":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"ref":"refs/changes/15/915/1","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/15/915/1","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/915/1 \u0026\u0026 git checkout -b change-915 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/915/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/915/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/915/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/15/915/1","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/915/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"8ea5debaea01da5fee56fbad56b50820c1beee92","subject":"win: calculate address string buffer size"}],"author":{"name":"Arne Schwabe","email":"arne@rfc2549.org","date":"2025-03-24 12:57:01.000000000","tz":60},"committer":{"name":"Arne Schwabe","email":"arne@rfc2549.org","date":"2025-03-24 13:15:18.000000000","tz":60},"subject":"Directly use _countof in array initialisation","message":"Directly use _countof in array initialisation\n\nThis fixes the build failures on MSVC cl compiler.\n\nMSVC cl does not thinks of the expression of a const variable times\nan integer to be compile time static. C23 introduce the constexpr\n(like in C++) statement for that but we are only on C11 for now.\n\nSo directly use the _countof(msg-\u003eaddr) expression in the array\ninitialisation.\n\nChange-Id: Ib579c1538eb5440bb7008bc866a5cb7d74844374\nSigned-off-by: Arne Schwabe \u003carne@rfc2549.org\u003e\n"},"branch":"refs/heads/master"},"089557b88f73d8d3f348719a45c5aa3230b37834":{"kind":"REWORK","_number":2,"created":"2025-03-24 13:19:38.000000000","uploader":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"ref":"refs/changes/15/915/2","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/15/915/2","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/915/2 \u0026\u0026 git checkout -b change-915 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/915/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/915/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/915/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/15/915/2","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/915/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"8ea5debaea01da5fee56fbad56b50820c1beee92","subject":"win: calculate address string buffer size"}],"author":{"name":"Arne Schwabe","email":"arne@rfc2549.org","date":"2025-03-24 12:57:01.000000000","tz":60},"committer":{"name":"Arne Schwabe","email":"arne@rfc2549.org","date":"2025-03-24 13:19:24.000000000","tz":60},"subject":"Directly use _countof in array initialisation","message":"Directly use _countof in array initialisation\n\nThis fixes the build failures on MSVC cl compiler.\n\nMSVC cl does not thinks of the expression of a const variable times\nan integer to be compile time static. C23 introduce the constexpr\n(like in C++) statement for that but we are only on C11 for now.\n\nSo directly use the _countof(msg-\u003eaddr) expression in the array\ninitialisation.\n\nChange-Id: Ib579c1538eb5440bb7008bc866a5cb7d74844374\nSigned-off-by: Arne Schwabe \u003carne@rfc2549.org\u003e\n"},"branch":"refs/heads/master"},"1fc44d3b2ad3b96405650754a6e43f1576cda132":{"kind":"NO_CODE_CHANGE","_number":3,"created":"2025-03-24 13:54:00.000000000","uploader":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"ref":"refs/changes/15/915/3","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/15/915/3","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/915/3 \u0026\u0026 git checkout -b change-915 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/915/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/915/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/915/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/15/915/3","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/915/3 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"8ea5debaea01da5fee56fbad56b50820c1beee92","subject":"win: calculate address string buffer size"}],"author":{"name":"Arne Schwabe","email":"arne@rfc2549.org","date":"2025-03-24 13:37:53.000000000","tz":60},"committer":{"name":"Gert Doering","email":"gert@greenie.muc.de","date":"2025-03-24 13:51:37.000000000","tz":60},"subject":"Directly use _countof in array initialisation","message":"Directly use _countof in array initialisation\n\nThis fixes the build failures on MSVC cl compiler.\n\nMSVC cl does not thinks of the expression of a const variable times\nan integer to be compile time static. C23 introduce the constexpr\n(like in C++) statement for that but we are only on C11 for now.\n\nSo directly use the _countof(msg-\u003eaddr) expression in the array\ninitialisation.\n\nChange-Id: Ib579c1538eb5440bb7008bc866a5cb7d74844374\nSigned-off-by: Arne Schwabe \u003carne@rfc2549.org\u003e\nAcked-by: Frank Lichtenheld \u003cfrank@lichtenheld.com\u003e\nMessage-Id: \u003c20250324133759.13155-1-gert@greenie.muc.de\u003e\nURL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg31205.html\nSigned-off-by: Gert Doering \u003cgert@greenie.muc.de\u003e\n"},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[]}
