summaryrefslogtreecommitdiff
path: root/src/responder/pam
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-03-24 13:03:19 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-03-25 12:14:14 -0400
commit7c837ddd5b1737b56fc475f7e347efdb067e2330 (patch)
tree178162f35109bb3825ddcee8ef09c4252b052139 /src/responder/pam
parent541578ee21975ab008db2dcec69bd3c3f8283122 (diff)
downloadsssd-7c837ddd5b1737b56fc475f7e347efdb067e2330.tar.gz
sssd-7c837ddd5b1737b56fc475f7e347efdb067e2330.tar.bz2
sssd-7c837ddd5b1737b56fc475f7e347efdb067e2330.zip
Fix warnings from -Wmissing-field-initializers
This patch removes some tab-indentations from pamsrv.c, too.
Diffstat (limited to 'src/responder/pam')
-rw-r--r--src/responder/pam/pamsrv.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/responder/pam/pamsrv.c b/src/responder/pam/pamsrv.c
index cb3429f1..7903e34c 100644
--- a/src/responder/pam/pamsrv.c
+++ b/src/responder/pam/pamsrv.c
@@ -168,24 +168,24 @@ int main(int argc, const char *argv[])
struct main_context *main_ctx;
int ret;
- struct poptOption long_options[] = {
- POPT_AUTOHELP
+ struct poptOption long_options[] = {
+ POPT_AUTOHELP
SSSD_MAIN_OPTS
- { NULL }
- };
-
- pc = poptGetContext(argv[0], argc, argv, long_options, 0);
- while((opt = poptGetNextOpt(pc)) != -1) {
- switch(opt) {
- default:
- fprintf(stderr, "\nInvalid option %s: %s\n\n",
- poptBadOption(pc, 0), poptStrerror(opt));
- poptPrintUsage(pc, stderr, 0);
- return 1;
- }
- }
-
- poptFreeContext(pc);
+ POPT_TABLEEND
+ };
+
+ pc = poptGetContext(argv[0], argc, argv, long_options, 0);
+ while((opt = poptGetNextOpt(pc)) != -1) {
+ switch(opt) {
+ default:
+ fprintf(stderr, "\nInvalid option %s: %s\n\n",
+ poptBadOption(pc, 0), poptStrerror(opt));
+ poptPrintUsage(pc, stderr, 0);
+ return 1;
+ }
+ }
+
+ poptFreeContext(pc);
/* set up things like debug, signals, daemonization, etc... */
debug_log_file = "sssd_pam";