Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fixing a spurious "Wrong feed version" in feedinfo, for just received feeds. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
539a77f2dfcc66c80cd43d16cd06fdb5 |
User & Date: | viric 2013-03-15 18:39:00 |
Context
2013-03-15
| ||
18:42 | Updating the home doc about feedid with spaces. check-in: 012f1869ac user: viric tags: trunk | |
18:39 | Fixing a spurious "Wrong feed version" in feedinfo, for just received feeds. check-in: 539a77f2df user: viric tags: trunk | |
18:30 | Allow spaces in identifiers check-in: 91f9fc3e38 user: viric tags: trunk | |
Changes
Changes to offrss.c.
︙ | ︙ | |||
210 211 212 213 214 215 216 | if (f == NULL) return; line[0] = '\0'; fgets(line, sizeof line, f); sscanf(line, "%i", &version); | | > > | 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 | if (f == NULL) return; line[0] = '\0'; fgets(line, sizeof line, f); sscanf(line, "%i", &version); if (!feof(f) && version != 1) { fprintf(stderr, "Wrong format version in %s\n", filename); exit(-1); } fm->lastchecked = 0; line[0] = '\0'; fgets(line, sizeof line, f); sscanf(line, "%i", &fm->lastchecked); fm->alternate_url = ""; line[0] = '\0'; fgets(line, sizeof line, f); fm->alternate_url = strdup(line); fclose(f); } |
︙ | ︙ |