diff options
author | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2005-02-28 10:52:09 +0000 |
---|---|---|
committer | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2005-02-28 10:52:09 +0000 |
commit | a6c20884884671de3ac68baf68d4b7e63aedeb6d (patch) | |
tree | 7c1aeba376646f904f989e6340889732d3184968 /src/ne_basic.h | |
parent | 656e7ee04c55605c0def790c3d58b58592edf6ec (diff) | |
download | neon-a6c20884884671de3ac68baf68d4b7e63aedeb6d.tar.gz |
* src/ne_basic.h (ne_get_content_type): Clarify that all fields will
be non-NULL on success.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@503 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
Diffstat (limited to 'src/ne_basic.h')
-rw-r--r-- | src/ne_basic.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ne_basic.h b/src/ne_basic.h index c8f5ac3..b9a861c 100644 --- a/src/ne_basic.h +++ b/src/ne_basic.h @@ -1,6 +1,6 @@ /* HTTP/1.1 methods - Copyright (C) 1999-2004, Joe Orton <joe@manyfish.co.uk> + Copyright (C) 1999-2005, Joe Orton <joe@manyfish.co.uk> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public @@ -78,9 +78,9 @@ typedef struct { } ne_content_type; /* Retrieve the content-type of the response; returns zero if response - * had valid content-type, in which case *ctype is filled in and the - * caller must free 'value' after use. Returns non-zero on error, in - * which case *ctype is not altered. */ + * had valid content-type, in which case all fields in *ctype are set + * (and never NULL); the caller must free(ctype->value) after use. + * Returns non-zero on error, in which case *ctype is not altered. */ int ne_get_content_type(ne_request *req, ne_content_type *ctype); /* Server capabilities: */ |