| 442 | } |
| 443 | |
| 444 | void CConfigManager::WriteLine(const char *pLine) |
| 445 | { |
| 446 | if(!m_ConfigFile || |
| 447 | io_write(m_ConfigFile, pLine, str_length(pLine)) != static_cast<unsigned>(str_length(pLine)) || |
| 448 | !io_write_newline(m_ConfigFile)) |
| 449 | { |
| 450 | m_Failed = true; |
| 451 | } |
| 452 | } |
| 453 | |
| 454 | void CConfigManager::StoreUnknownCommand(const char *pCommand) |
| 455 | { |
no test coverage detected