diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-10-02 17:27:20 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-10-02 17:27:20 +0200 |
commit | 46c740508888a1ec6608fda78150401e70d051e8 (patch) | |
tree | ad738573978fec75d71ae600d4abfdfc6d11b2a8 /sfeed.c | |
parent | 914516209ddab8459ef99bd12ad211dab9b2a26d (diff) |
update README, fix some typos and wording
Diffstat (limited to 'sfeed.c')
-rw-r--r-- | sfeed.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -14,7 +14,7 @@ #define ISINCONTENT(ctx) ((ctx).iscontent && !((ctx).iscontenttag)) #define ISCONTENTTAG(ctx) (!((ctx).iscontent) && (ctx).iscontenttag) -/* string and size */ +/* string and byte-length */ #define STRP(s) s,sizeof(s)-1 enum FeedType { @@ -39,7 +39,7 @@ typedef struct string { } String; /* NOTE: the order of these fields (content, date, author) indicate the - * priority to used them, from low to high. */ + * priority to use them, from least important to high. */ enum TagId { TagUnknown = 0, /* RSS */ @@ -579,7 +579,7 @@ xml_handler_data_entity(XMLParser *p, const char *data, size_t datalen) return; /* try to translate entity, else just pass as data to - * xml_data_handler */ + * xml_data_handler. */ len = xml_entitytostr(data, buffer, sizeof(buffer)); /* this should never happen (buffer too small) */ if (len < 0) |