)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"change_message_id":"6ca06e826f5fcf2fc0cb7ac415ac1027ff2c5859","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"59e37c30_6024571d","updated":"2025-08-26 13:01:46.000000000","message":"I am not sure that the 0 as INT_MAX is the best way to go here. See the comment below.","commit_id":"a227dc0770380717b88cb2fba677c77dffbee58d"}],"src/openvpn/options_util.h":[{"author":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"change_message_id":"6ca06e826f5fcf2fc0cb7ac415ac1027ff2c5859","unresolved":true,"context_lines":[{"line_number":48,"context_line":"/**"},{"line_number":49,"context_line":" * Converts a str to an integer if the string can be represented as an"},{"line_number":50,"context_line":" * integer number and is between \\p min and \\p max."},{"line_number":51,"context_line":" * If \\p max is 0, \\p INT_MAX is used instead."},{"line_number":52,"context_line":" * The integer is stored in \\p value."},{"line_number":53,"context_line":" * On error, print a warning with \\p msglevel using \\p name. \\p value is"},{"line_number":54,"context_line":" * not changed on error."}],"source_content_type":"text/x-csrc","patch_set":3,"id":"8b3298f5_3710adb3","line":51,"updated":"2025-08-26 13:01:46.000000000","message":"Why not use INT_MAX for INT_MAX and instead use this both 0 and INT_MAX are INT_MAX?\n\nI think the code would be easier to parse from the calling functions if you immediately see that it it is between whatever and INT_MAX.\n\nI think \n\n    atoi_constrained(p[1], \u0026cf_max,  \"connect-freq n\", 1, INT_MAX, msglevel)\n\nis intuatively more clear than \n\n    atoi_constrained(p[1], \u0026cf_max, \"connect-freq n\", 1, 0, msglevel)","commit_id":"a227dc0770380717b88cb2fba677c77dffbee58d"},{"author":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"change_message_id":"5474056deba5cbcff04d1dbea02f32c980517a47","unresolved":false,"context_lines":[{"line_number":48,"context_line":"/**"},{"line_number":49,"context_line":" * Converts a str to an integer if the string can be represented as an"},{"line_number":50,"context_line":" * integer number and is between \\p min and \\p max."},{"line_number":51,"context_line":" * If \\p max is 0, \\p INT_MAX is used instead."},{"line_number":52,"context_line":" * The integer is stored in \\p value."},{"line_number":53,"context_line":" * On error, print a warning with \\p msglevel using \\p name. \\p value is"},{"line_number":54,"context_line":" * not changed on error."}],"source_content_type":"text/x-csrc","patch_set":3,"id":"d6a82d77_29ee0c72","line":51,"in_reply_to":"8b3298f5_3710adb3","updated":"2025-09-02 12:12:18.000000000","message":"Done","commit_id":"a227dc0770380717b88cb2fba677c77dffbee58d"}]}
