break;
}
}
- if ((i==argc)&&(fwrite("\n", 1, 1, config_file)==1))
+ if ((i==argc) && (fwrite("\n", 1, 1, config_file)==1))
{
retval=ERROR_OK;
}
chunk = maxChunk;
}
- if ((retval==ERROR_OK)&&(fwrite(((char *)data)+pos, 1, chunk, f) != chunk))
+ if ((retval==ERROR_OK) && (fwrite(((char *)data)+pos, 1, chunk, f) != chunk))
retval = ERROR_INVALID_ARGUMENTS;
if (retval != ERROR_OK)