Commit b8615cc0 b8615cc059da9e790d4da94470fb084f245e0483 by Sergey Poznyakoff

Return value of header_aget_value() was always 0. Made it consistent with that o…

…f header_get_value(). Same for header_aget_field_value().
1 parent 6002717b
......@@ -521,7 +521,7 @@ header_aget_value (header_t header, const char *name, char **pvalue)
}
else
*pvalue = strdup ("");
return 0;
return status;
}
int
......@@ -598,7 +598,7 @@ header_aget_field_name (header_t header, size_t num, char **pvalue)
}
else
*pvalue = strdup ("");
return 0;
return status;
}
int
......