summaryrefslogtreecommitdiffstats
path: root/source/smbwrapper/shared.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-11-09 03:45:49 +0000
committerAndrew Tridgell <tridge@samba.org>1998-11-09 03:45:49 +0000
commite14ca7765ace1b721dad8eca4a527a4e4a8f1ab8 (patch)
tree091a5ae8328ffe232d46bfb1d7849e848a522884 /source/smbwrapper/shared.c
parentd6e6e936b5dd90dd8fc38d9404efbe5c546c15e5 (diff)
downloadsamba-e14ca7765ace1b721dad8eca4a527a4e4a8f1ab8.tar.gz
samba-e14ca7765ace1b721dad8eca4a527a4e4a8f1ab8.tar.xz
samba-e14ca7765ace1b721dad8eca4a527a4e4a8f1ab8.zip
converted smbclient to use clientgen.c rather than clientutil.c
I did this when I saw yet another bug report complaining about smbclient intermittently missing files. Rather than applying more patches to smbclient it was better to move to the more robust clientgen.c code. The conversion wasn't perfect, I probably lost some features of smbclient while doing it, but at least smbclient should be consistent now. It if fails it should _always_ fail rather than giving people the false impression of a reliable utility. the tar stuff seems to work, but hasn't had much testing as I never use it myself. I'm sure someone will find bugs in my conversion of smbtar.c. It was quite tricky as it did a lot of its own SMB calls. It now uses clientgen.c exclusively. smbclient is still quite messy, but at least it doesn't build its own SMB packets. I haven't touched smbmount as I never use it. Mike, do you want to convert smbmount to use clientgen.c?
Diffstat (limited to 'source/smbwrapper/shared.c')
-rw-r--r--source/smbwrapper/shared.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/smbwrapper/shared.c b/source/smbwrapper/shared.c
index ef139414bc9..2ee019b2dcb 100644
--- a/source/smbwrapper/shared.c
+++ b/source/smbwrapper/shared.c
@@ -158,7 +158,6 @@ set a variable in the shared area
*******************************************************/
void smbw_setshared(const char *name, const char *val)
{
- int len;
int l1, l2;
/* we don't allow variable overwrite */