From f4b8c08e313e3df5f4fab9ff42272f111137aa9e Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 25 Jul 2002 10:10:35 +0000 Subject: Return the actual count, rather than always 0! 2002-07-25 Not Zed * e-msgport.c (e_dlist_length): Return the actual count, rather than always 0! svn path=/trunk/; revision=17587 --- e-util/ChangeLog | 5 +++++ e-util/e-msgport.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 2adf6d433b..a26cd8ea10 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,8 @@ +2002-07-25 Not Zed + + * e-msgport.c (e_dlist_length): Return the actual count, rather + than always 0! + 2002-07-03 Peter Williams * Makefile.am: Install libeutil, libeconduit, and libedb3util and diff --git a/e-util/e-msgport.c b/e-util/e-msgport.c index 6fc83588c6..28c0e5cca9 100644 --- a/e-util/e-msgport.c +++ b/e-util/e-msgport.c @@ -93,7 +93,7 @@ int e_dlist_length(EDList *l) nn = n->next; } - return 0; + return count; } struct _EMsgPort { -- cgit