diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-05-24 22:05:06 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:13 -0500 |
commit | 1f033febfe19d6bb0b45524a672eaf1d1373f15e (patch) | |
tree | d39f4a956b08c1a9b94ad0dc35f5cb7253866a21 /source4/param/loadparm.c | |
parent | 73f1ec5b0c4042728aed1a9cf22739aa1349090c (diff) | |
download | samba-1f033febfe19d6bb0b45524a672eaf1d1373f15e.tar.gz samba-1f033febfe19d6bb0b45524a672eaf1d1373f15e.tar.bz2 samba-1f033febfe19d6bb0b45524a672eaf1d1373f15e.zip |
r861: remove the next round of unused stuff
metze
(This used to be commit 8f59daba0d03a2c58f7f23655153de05cbe47e81)
Diffstat (limited to 'source4/param/loadparm.c')
-rw-r--r-- | source4/param/loadparm.c | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c index f000509e47..1ee1ef157e 100644 --- a/source4/param/loadparm.c +++ b/source4/param/loadparm.c @@ -2994,29 +2994,7 @@ BOOL lp_snum_ok(int iService) static void lp_add_auto_services(char *str) { - char *s; - char *p; - int homes; - - if (!str) - return; - - s = strdup(str); - if (!s) - return; - - homes = lp_servicenumber(HOMES_NAME); - - for (p = strtok(s, LIST_SEP); p; p = strtok(NULL, LIST_SEP)) { - char *home = get_user_home_dir(p); - - if (lp_servicenumber(p) >= 0) - continue; - - if (home && homes >= 0) - lp_add_home(p, homes, p, home); - } - SAFE_FREE(s); + return; } /*************************************************************************** |