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) ...@@ -521,7 +521,7 @@ header_aget_value (header_t header, const char *name, char **pvalue)
521 } 521 }
522 else 522 else
523 *pvalue = strdup (""); 523 *pvalue = strdup ("");
524 return 0; 524 return status;
525 } 525 }
526 526
527 int 527 int
...@@ -598,7 +598,7 @@ header_aget_field_name (header_t header, size_t num, char **pvalue) ...@@ -598,7 +598,7 @@ header_aget_field_name (header_t header, size_t num, char **pvalue)
598 } 598 }
599 else 599 else
600 *pvalue = strdup (""); 600 *pvalue = strdup ("");
601 return 0; 601 return status;
602 } 602 }
603 603
604 int 604 int
......