summaryrefslogtreecommitdiff
path: root/source4/client
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-09-06 12:28:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:45 -0500
commit873749f2189ecf1fbfdc681df4dd304a17716279 (patch)
tree3c130ca5c25631c0aed8c9888b33b42e2be28510 /source4/client
parentf057742ef3dd821170303d548f5fee8b6097805d (diff)
downloadsamba-873749f2189ecf1fbfdc681df4dd304a17716279.tar.gz
samba-873749f2189ecf1fbfdc681df4dd304a17716279.tar.bz2
samba-873749f2189ecf1fbfdc681df4dd304a17716279.zip
r18168: Use {NULL} rather than POPT_TABLEEND, which is not always available.
(This used to be commit 8b622c5ded0732df0eaf9f6226f52a27b6eacd73)
Diffstat (limited to 'source4/client')
-rw-r--r--source4/client/cifsdd.c4
-rw-r--r--source4/client/client.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/client/cifsdd.c b/source4/client/cifsdd.c
index c7e054c364..eda25f904d 100644
--- a/source4/client/cifsdd.c
+++ b/source4/client/cifsdd.c
@@ -516,7 +516,7 @@ struct poptOption cifsddHelpOptions[] = {
{ NULL, '\0', POPT_ARG_CALLBACK, (void *)&cifsdd_help_message, '\0', NULL, NULL },
{ "help", '?', 0, NULL, '?', "Show this help message", NULL },
{ "usage", '\0', 0, NULL, 'u', "Display brief usage message", NULL },
- POPT_TABLEEND
+ { NULL }
} ;
int main(int argc, const char ** argv)
@@ -533,7 +533,7 @@ int main(int argc, const char ** argv)
POPT_COMMON_CONNECTION
POPT_COMMON_CREDENTIALS
POPT_COMMON_VERSION
- POPT_TABLEEND
+ { NULL }
};
/* Block sizes. */
diff --git a/source4/client/client.c b/source4/client/client.c
index 21c5f6ce61..e748edd347 100644
--- a/source4/client/client.c
+++ b/source4/client/client.c
@@ -3090,7 +3090,7 @@ static int do_message_op(const char *desthost, const char *destip, int name_type
POPT_COMMON_CONNECTION
POPT_COMMON_CREDENTIALS
POPT_COMMON_VERSION
- POPT_TABLEEND
+ { NULL }
};
mem_ctx = talloc_init("client.c/main");