"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/ne_props.c" between
neon-0.31.1.tar.gz and neon-0.31.2.tar.gz

About: neon is an HTTP and WebDAV client library, with a C interface.

ne_props.c  (neon-0.31.1):ne_props.c  (neon-0.31.2)
skipping to change at line 96 skipping to change at line 96
struct ne_prop_result_set_s { struct ne_prop_result_set_s {
struct propstat *pstats; struct propstat *pstats;
int numpstats, counter; int numpstats, counter;
void *private; void *private;
ne_uri uri; ne_uri uri;
}; };
#define MAX_PROP_COUNTER (1024) #define MAX_PROP_COUNTER (1024)
static int static int
startelm(void *userdata, int state, const char *name, const char *nspace, startelm(void *userdata, int state, const char *nspace, const char *name,
const char **atts); const char **atts);
static int static int
endelm(void *userdata, int state, const char *name, const char *nspace); endelm(void *userdata, int state, const char *nspace, const char *name);
/* Handle character data; flat property value. */ /* Handle character data; flat property value. */
static int chardata(void *userdata, int state, const char *data, size_t len) static int chardata(void *userdata, int state, const char *data, size_t len)
{ {
ne_propfind_handler *hdl = userdata; ne_propfind_handler *hdl = userdata;
if (state == ELM_flatprop && hdl->value->length < MAX_FLATPROP_LEN) if (state == ELM_flatprop && hdl->value->length < MAX_FLATPROP_LEN)
ne_buffer_append(hdl->value, data, len); ne_buffer_append(hdl->value, data, len);
return 0; return 0;
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)