In-Reply-To: MIME-Version: 1.0 X-Mailer: MIME-tools 5.508 (Entity 5.508) Content-Transfer-Encoding: binary X-RT-Interface: Web Message-ID: Content-Type: text/plain; charset="utf-8" References: <7c847a1e-32fb-6b09-9886-1ea5ec7f7015@isc.org> X-RT-Original-Encoding: utf-8 Content-Disposition: inline RT-Send-CC: Content-Length: 614 > A really minor nit, I would personally prefer to replace: > > if (!commit || result != ISC_R_SUCCESS) { > > with > > if ((commit == NULL)[1] || (result != ISC_R_SUCCESS)[2]) { > > with this explanation: > > [1] to be consistent with rest of code where we use 'text != NULL' (as an example from this commit But "commit" is a boolean here. > [2] And the parentheses while not necessary just contributes to readability and prevents future mistakes. This is not documented in our current coding style guidelines, so I decided against doing this. Naturally, we can further discuss this suggestion elsewhere.