Mercurial > cabal
comparison sources/core.cpp @ 4:a7051ac7118b
added primary parser implementation
renamed some functions to well-formed format
bool => false, pointers => NULL
removed useless eTime()
| author | Vlad Glagolev <enqlave@gmail.com> |
|---|---|
| date | Thu, 24 Jan 2008 19:38:34 +0300 |
| parents | 19227b0b7cc1 |
| children | 0faceb076254 |
comparison
equal
deleted
inserted
replaced
| 3:cd60300cae0b | 4:a7051ac7118b |
|---|---|
| 74 | 74 |
| 75 void Core::parseConfig() | 75 void Core::parseConfig() |
| 76 { | 76 { |
| 77 servers = -1; | 77 servers = -1; |
| 78 | 78 |
| 79 C = false; | 79 C = NULL; |
| 80 | 80 |
| 81 ifstream sysconfig(config, ios::in); | 81 ifstream sysconfig(config, ios::in); |
| 82 | 82 |
| 83 if (!sysconfig) | 83 if (!sysconfig) |
| 84 shut ("unable to open configuration file"); | 84 shut ("unable to open configuration file"); |
