summaryrefslogtreecommitdiff
path: root/src/responder
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-12-02 11:59:20 -0500
committerStephen Gallagher <sgallagh@redhat.com>2011-12-05 11:50:49 -0500
commitb32159300fea63222d8dd9200ed634087704ea74 (patch)
tree1df8dd260bc69f2611e53e05cc64b90e5583d576 /src/responder
parentf46b9fd64ef09aae23220c5adb2fe4d3e4adc553 (diff)
downloadsssd-b32159300fea63222d8dd9200ed634087704ea74.tar.gz
sssd-b32159300fea63222d8dd9200ed634087704ea74.tar.bz2
sssd-b32159300fea63222d8dd9200ed634087704ea74.zip
Allow using Glib for UTF8 support
Diffstat (limited to 'src/responder')
-rw-r--r--src/responder/common/responder_common.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/responder/common/responder_common.c b/src/responder/common/responder_common.c
index 24f9125b..1b28a92e 100644
--- a/src/responder/common/responder_common.c
+++ b/src/responder/common/responder_common.c
@@ -32,8 +32,8 @@
#include <sys/time.h>
#include <errno.h>
#include <popt.h>
-#include <unistr.h>
#include "util/util.h"
+#include "util/sss_utf8.h"
#include "db/sysdb.h"
#include "confdb/confdb.h"
#include "dbus/dbus.h"
@@ -636,11 +636,3 @@ int responder_logrotate(DBusMessage *message,
return monitor_common_pong(message, conn);
}
-
-bool sss_utf8_check(const uint8_t *s, size_t n)
-{
- if (u8_check(s, n) == NULL) {
- return true;
- }
- return false;
-}