diff options
author | Michael Adam <obnox@samba.org> | 2007-07-07 20:40:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:23:51 -0500 |
commit | 204f4f1a94a6693ab5d92df0de48e6cb446c7a7f (patch) | |
tree | 89256eae5ff5cae470904aeb84a357492c1d2dd9 /source | |
parent | e5e42fe3d5b26c0ec48d98c001b9cb1623c0b5a7 (diff) | |
download | samba-204f4f1a94a6693ab5d92df0de48e6cb446c7a7f.tar.gz samba-204f4f1a94a6693ab5d92df0de48e6cb446c7a7f.tar.xz samba-204f4f1a94a6693ab5d92df0de48e6cb446c7a7f.zip |
r23744: Remove TODO-comment. lp_load returns False if opening
of the config file fails. That's enough of checking for
existence and readbility to my taste.
Michael
Diffstat (limited to 'source')
-rw-r--r-- | source/utils/net_conf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/utils/net_conf.c b/source/utils/net_conf.c index 9888d1f5486..c65b57817bb 100644 --- a/source/utils/net_conf.c +++ b/source/utils/net_conf.c @@ -690,8 +690,6 @@ int net_conf_import(int argc, const char **argv) DEBUG(3,("net_conf_import: reading configuration from file %s.\n", filename)); - /* TODO: check for existence and readability */ - if (!lp_load(filename, False, /* global_only */ True, /* save_defaults */ |