summaryrefslogtreecommitdiffstats
path: root/src/responder/common
diff options
context:
space:
mode:
authorPallavi Jha <pallavikumarijha@gmail.com>2013-12-24 18:08:01 +0530
committerJakub Hrozek <jhrozek@redhat.com>2014-01-07 10:58:28 +0100
commit92dc1f40c8241e980ade3db68ddc131230f266b3 (patch)
treef438232898b372fd9e6fab15397aed8a52294610 /src/responder/common
parent30c2bde2c5fac995136dc711ca3ac17fdb06b62a (diff)
downloadsssd-92dc1f40c8241e980ade3db68ddc131230f266b3.tar.gz
sssd-92dc1f40c8241e980ade3db68ddc131230f266b3.tar.xz
sssd-92dc1f40c8241e980ade3db68ddc131230f266b3.zip
permament is corrected to permanent
Diffstat (limited to 'src/responder/common')
-rw-r--r--src/responder/common/negcache.c3
-rw-r--r--src/responder/common/negcache.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/responder/common/negcache.c b/src/responder/common/negcache.c
index 5d82e52b5..d49a56d88 100644
--- a/src/responder/common/negcache.c
+++ b/src/responder/common/negcache.c
@@ -26,7 +26,6 @@
#include <fcntl.h>
#include <time.h>
#include "tdb.h"
-#include "responder/common/negcache.h"
#define NC_ENTRY_PREFIX "NCE/"
#define NC_USER_PREFIX NC_ENTRY_PREFIX"USER"
@@ -583,7 +582,7 @@ done:
return 0;
}
-int sss_ncache_reset_permament(struct sss_nc_ctx *ctx)
+int sss_ncache_reset_permanent(struct sss_nc_ctx *ctx)
{
int ret;
diff --git a/src/responder/common/negcache.h b/src/responder/common/negcache.h
index b8d385a95..00f979dbb 100644
--- a/src/responder/common/negcache.h
+++ b/src/responder/common/negcache.h
@@ -67,7 +67,7 @@ int sss_ncache_set_service_port(struct sss_nc_ctx *ctx, bool permanent,
struct sss_domain_info *dom,
uint16_t port, const char *proto);
-int sss_ncache_reset_permament(struct sss_nc_ctx *ctx);
+int sss_ncache_reset_permanent(struct sss_nc_ctx *ctx);
/* Set up the negative cache with values from filter_users and
* filter_groups in the sssd.conf