| 1273 | } |
| 1274 | |
| 1275 | static int load_config(int globals_only) |
| 1276 | { |
| 1277 | if (!config_file) { |
| 1278 | if (am_daemon < 0 && am_root <= 0) |
| 1279 | config_file = RSYNCD_USERCONF; |
| 1280 | else |
| 1281 | config_file = RSYNCD_SYSCONF; |
| 1282 | } |
| 1283 | return lp_load(config_file, globals_only); |
| 1284 | } |
| 1285 | |
| 1286 | /* this is called when a connection is established to a client |
| 1287 | and we want to start talking. The setup of the system is done from |
no test coverage detected