summaryrefslogtreecommitdiff
path: root/source3/utils/smbget.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-12-28 22:48:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:59 -0500
commitc8f28c92a7a96e278031b85f04b4671206bf3502 (patch)
tree445fbb3a2fa167ecdf3b14781c87ac789c9dc544 /source3/utils/smbget.c
parent608aa3f41e2667f8812980c5abb459a031fd382c (diff)
downloadsamba-c8f28c92a7a96e278031b85f04b4671206bf3502.tar.gz
r12555: Fix more load_case_table swegfaults. Arggg.
What I'd give for a global constructor... Jeremy. (This used to be commit c970d7d0a5ba225465dfb0980989b8817b17c643)
Diffstat (limited to 'source3/utils/smbget.c')
-rw-r--r--source3/utils/smbget.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/smbget.c b/source3/utils/smbget.c
index 9d44017bd35..4a2670e0c16 100644
--- a/source3/utils/smbget.c
+++ b/source3/utils/smbget.c
@@ -544,6 +544,8 @@ int main(int argc, const char **argv)
};
poptContext pc;
+ load_case_tables();
+
/* only read rcfile if it exists */
asprintf(&rcfile, "%s/.smbgetrc", getenv("HOME"));
if(access(rcfile, F_OK) == 0)