summaryrefslogtreecommitdiffstats
path: root/source/utils
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-04-28 08:54:51 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-04-28 08:54:51 +0000
commit52c5806004022f153af7d022afdb3ec7cc0d2548 (patch)
treecd0d57e085da4d68d628ca1e2127d3cd4e6ad631 /source/utils
parentd20f4bf5d84f435a7b4b692bf33f05f4ec871a50 (diff)
downloadsamba-52c5806004022f153af7d022afdb3ec7cc0d2548.tar.gz
samba-52c5806004022f153af7d022afdb3ec7cc0d2548.tar.xz
samba-52c5806004022f153af7d022afdb3ec7cc0d2548.zip
Merge compile and other fixes from 3.0 to HEAD.
Including smbtorture bugfixes, and a better TCONDEV test. Andrew Bartlett
Diffstat (limited to 'source/utils')
-rw-r--r--source/utils/ntlm_auth.c2
-rw-r--r--source/utils/smbcontrol.c2
-rw-r--r--source/utils/smbcquotas.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/source/utils/ntlm_auth.c b/source/utils/ntlm_auth.c
index ddb7053cdbb..42490190f32 100644
--- a/source/utils/ntlm_auth.c
+++ b/source/utils/ntlm_auth.c
@@ -464,7 +464,7 @@ static BOOL check_auth_crap(void)
and valid authentication types
*/
-static const DATA_BLOB get_challenge(void)
+static DATA_BLOB get_challenge(void)
{
static DATA_BLOB chal;
if (opt_challenge.length)
diff --git a/source/utils/smbcontrol.c b/source/utils/smbcontrol.c
index 8b984d9bd12..06add6af228 100644
--- a/source/utils/smbcontrol.c
+++ b/source/utils/smbcontrol.c
@@ -674,7 +674,7 @@ int main(int argc, char **argv)
poptContext pc;
int opt;
- struct poptOption wbinfo_options[] = {
+ static struct poptOption wbinfo_options[] = {
{ "timeout", 't', POPT_ARG_INT, &timeout, 't',
"Set timeout value in seconds", "TIMEOUT" },
diff --git a/source/utils/smbcquotas.c b/source/utils/smbcquotas.c
index c5d0aa869bf..9c7379ca2a9 100644
--- a/source/utils/smbcquotas.c
+++ b/source/utils/smbcquotas.c
@@ -393,7 +393,7 @@ static struct cli_state *connect_one(const char *share)
pstring set_str = {0};
enum SMB_QUOTA_TYPE qtype;
int cmd = 0;
- BOOL test_args = False;
+ static BOOL test_args = False;
struct cli_state *cli;
BOOL fix_user = False;
SMB_NTQUOTA_STRUCT qt;