Re: [PATCH] c++-stream-ify purge/conffile.cc

From: Kinkie <gkinkie_at_gmail.com>
Date: Fri, 26 Oct 2012 18:42:34 +0200

On Fri, Oct 26, 2012 at 6:37 PM, Alex Rousskov
<rousskov_at_measurement-factory.com> wrote:
> On 10/26/2012 09:30 AM, Kinkie wrote:
>> Ok, fixed and committed as r12411.
>
>
>> - FILE* in = fopen( fn, "r" );
>> - if ( in == NULL ) {
>> + std::ifstream cfgin(fn);
>> + if (cfgin) {
>
> Missing "!" in the if-statement condition.

*shame* thanks. Fixed.

-- 
    /kinkie
Received on Fri Oct 26 2012 - 16:42:41 MDT

This archive was generated by hypermail 2.2.0 : Fri Oct 26 2012 - 12:00:09 MDT