2005-07-31 Helge Hess <helge.hess@opengroupware.org>
+ * NGBufferedDescriptor.[hc]: fixed some gcc 4.0 warnings
+
* added an Xcode 2.1 project for building the adaptor
* GNUmakefile: added a distclean and an install-usr-libexec target
}
char NGBufferedDescriptor_writeHttpHeader(NGBufferedDescriptor *self,
- const unsigned char *_key,
+ const char *_key,
const unsigned char *_value)
{
register unsigned int len;
assuming that the certficiate is in base64. To safeguard, we also encode
% as %25.
*/
- if (len > 0 && (index(_value, '\n') != NULL || index(_value, '\r') !=NULL)) {
+ if (len > 0 && (index((char *)_value, '\n') != NULL ||
+ index((char *)_value, '\r') !=NULL)) {
for (len = 0; _value[len] != '\0'; len++) {
switch (_value[len]) {
case '%':
int NGBufferedDescriptor_readChar(NGBufferedDescriptor *self);
char NGBufferedDescriptor_writeHttpHeader(NGBufferedDescriptor *self,
- const unsigned char *_key,
+ const char *_key,
const unsigned char *_value);
#endif