summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-07-07 20:40:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:51 -0500
commitea78cb941acac7c76318464baba618fe79b2e196 (patch)
tree5128b0e1fa12352b4835cfae3e7ce048b60255fc
parentc35d814e393e4211e3f6e0dcaff76536c256ff6b (diff)
downloadsamba-ea78cb941acac7c76318464baba618fe79b2e196.tar.gz
samba-ea78cb941acac7c76318464baba618fe79b2e196.tar.bz2
samba-ea78cb941acac7c76318464baba618fe79b2e196.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 (This used to be commit 204f4f1a94a6693ab5d92df0de48e6cb446c7a7f)
-rw-r--r--source3/utils/net_conf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index 9888d1f548..c65b57817b 100644
--- a/source3/utils/net_conf.c
+++ b/source3/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 */