aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook-storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/component/addressbook-storage.c')
-rw-r--r--addressbook/gui/component/addressbook-storage.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/addressbook/gui/component/addressbook-storage.c b/addressbook/gui/component/addressbook-storage.c
index 7eb40281cf..6924052529 100644
--- a/addressbook/gui/component/addressbook-storage.c
+++ b/addressbook/gui/component/addressbook-storage.c
@@ -444,6 +444,19 @@ load_source_data (const char *file_path)
source->binddn = get_string_value (child, "binddn");
source->limit = get_integer_value (child, "limit", 100);
}
+ else if (!strcmp (child->name, "text")) {
+ if (child->content) {
+ int i;
+ for (i = 0; i < strlen (child->content); i++) {
+ if (!isspace (child->content[i])) {
+ g_warning ("illegal text in contactserver list.");
+ break;
+ }
+ }
+ }
+ g_free (source);
+ continue;
+ }
else {
g_warning ("unknown node '%s' in %s", child->name, file_path);
g_free (source);