From fa2b7f712bba60cee1aa7a693cb77408a583ffe0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 31 Dec 2009 20:07:24 +0100 Subject: [PATCH] Event type EVENT_DELIVERED_BY_FICTION renamed to EVENT_ACCEPTED_BY_FICTION --- client/common.c | 2 +- src/isds.c | 2 +- src/isds.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/common.c b/client/common.c index cbd2973..3e7cefc 100644 --- a/client/common.c +++ b/client/common.c @@ -188,7 +188,7 @@ void print_event_type(const isds_event_type *type) { case EVENT_UKNOWN: printf("UNKNOWN\n"); break; case EVENT_ACCEPTED_BY_RECIPIENT: printf("ACCEPTED_BY_RECIPIENT\n"); break; - case EVENT_DELIVERED_BY_FICTION: + case EVENT_ACCEPTED_BY_FICTION: printf("DELIVERED_BY_FICTION\n"); break; case EVENT_UNDELIVERABLE: printf("UNDELIVERABLE\n"); break; diff --git a/src/isds.c b/src/isds.c index 510213d..fbf757e 100644 --- a/src/isds.c +++ b/src/isds.c @@ -1296,7 +1296,7 @@ static isds_error eventstring2event(const xmlChar *string, }; const isds_event_type types[] = { EVENT_ACCEPTED_BY_RECIPIENT, - EVENT_DELIVERED_BY_FICTION, + EVENT_ACCEPTED_BY_FICTION, EVENT_UNDELIVERABLE }; unsigned int index; diff --git a/src/isds.h b/src/isds.h index c5b10ea..10b683b 100644 --- a/src/isds.h +++ b/src/isds.h @@ -211,8 +211,8 @@ typedef enum { EVENT_UKNOWN, /* Event unknown to this library */ EVENT_ACCEPTED_BY_RECIPIENT, /* Message has been delivered and accepted by recipeint action */ - EVENT_DELIVERED_BY_FICTION, /* Message has been delivered, acceptance - timed out, considered as delivered */ + EVENT_ACCEPTED_BY_FICTION, /* Message has been delivered, acceptance + timed out, considered as accepted */ EVENT_UNDELIVERABLE /* Recipient box made unaccessible, thus message is undelivarable */ } isds_event_type; -- 2.11.4.GIT