[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: message search API
From: |
Sergey Poznyakoff |
Subject: |
Re: message search API |
Date: |
Fri, 17 Aug 2001 11:37:20 +0300 |
Bonjour,
> If you have time can you take a look at
> mailutils/mailbox2/include/mailutils/*h
I'm also looking at mailutils/mailbox2/*.c :^)
In header.c both header_aget_value() and header_aget_field_name()
always return 0, no matter was the corresponding header present
or not. The similar bug has already been fixed in /mailbox, so I'd propose:
Index: header.c
===================================================================
RCS file: /cvs/mailutils/mailbox2/header.c,v
retrieving revision 1.1
diff -p -u -w -b -r1.1 header.c
--- header.c 2001/08/02 03:40:13 1.1
+++ header.c 2001/08/17 08:19:12
@@ -111,7 +111,7 @@ header_aget_value (header_t header, cons
*value = '\0';
}
*pvalue = value;
- return 0;
+ return status;
}
int
@@ -154,7 +154,7 @@ header_aget_field_name (header_t header,
*value = '\0';
}
*pvalue = value;
- return 0;
+ return status;
}
-Sergey
- Re: message search API,
Sergey Poznyakoff <=