summaryrefslogtreecommitdiffstats
path: root/eurephiadm
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2008-12-22 18:01:15 +0100
committerDavid Sommerseth <dazo@users.sourceforge.net>2008-12-22 18:01:15 +0100
commit7ad1e2ded6eedd5db7af93c7d2ea690b9fec2ec8 (patch)
tree13ce1750c482022350cf438e99b3eec57bdedb09 /eurephiadm
parent11ecd2a58b0ec2b555414f61bc940cbfbb193534 (diff)
downloadeurephia-7ad1e2ded6eedd5db7af93c7d2ea690b9fec2ec8.tar.gz
eurephia-7ad1e2ded6eedd5db7af93c7d2ea690b9fec2ec8.tar.xz
eurephia-7ad1e2ded6eedd5db7af93c7d2ea690b9fec2ec8.zip
Fixed spelling mistake in XML attribute for certificates
Diffstat (limited to 'eurephiadm')
-rw-r--r--eurephiadm/commands/certificates.c2
-rw-r--r--eurephiadm/commands/users.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/eurephiadm/commands/certificates.c b/eurephiadm/commands/certificates.c
index a4b07cd..ca17c67 100644
--- a/eurephiadm/commands/certificates.c
+++ b/eurephiadm/commands/certificates.c
@@ -430,7 +430,7 @@ int delete_cert(eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES *cfg, in
return 0;
}
delete_n = eurephiaXML_getRoot(ctx, certlist, "certificates", 1);
- if( atoi_nullsafe(xmlGetAttrValue(delete_n->properties, "certficates")) == 0 ) {
+ if( atoi_nullsafe(xmlGetAttrValue(delete_n->properties, "certificates")) == 0 ) {
printf("%s: No certificates found\n", MODULE);
goto exit;
}
diff --git a/eurephiadm/commands/users.c b/eurephiadm/commands/users.c
index c31834f..ee4e384 100644
--- a/eurephiadm/commands/users.c
+++ b/eurephiadm/commands/users.c
@@ -900,7 +900,7 @@ int add_user(eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES *cfg, int a
xmlFreeDoc(certlist);
goto exit;
}
- certcount = atoi_nullsafe(xmlGetAttrValue(cert_n->properties, "certficates"));
+ certcount = atoi_nullsafe(xmlGetAttrValue(cert_n->properties, "certificates"));
if( certcount == 0) {
fprintf(stderr, "%s: No certificates was found. No association is done.\n",
MODULE);