Commits
- Commit:
05d87bafea0acc2bb9f304b9c1f6f09f13f54dd1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt; get rid of double `break'
- Commit:
7ef6ceef43f5c7b50cacd03c8026578dcac72e63
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix possible NULL deref on gophermap' serialize_link
it's just a typo: instead of looking for the end of the string pointed
by path, if look for the end of uri. reached that point, path is NULL.
reported by a gcc 11 warning: "argument 1 null where non-null expected"
- Commit:
d89eb764fd5d3a5ec0b5b30d85ecdc14789bb7cf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
replace has_prefix with strncmp
- Commit:
0110411e1e32fa44d6e086f652dac916fc8707cf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
partial revert of "abstract over evbuffers"
partial revert of commit d54dd8160b88709f3d243e1410a781e5de7fc187. We
don't really need an abstraction over "printf-like" things. I can
just use plain old FILEs. open_memstream (which conforms to POSIX.1)
is what I should have used from the beginning in my mcache
implementation.
- Commit:
d54dd8160b88709f3d243e1410a781e5de7fc187
- From:
- Omar Polo <op@omarpolo.com>
- Date:
parser/serialize: abstract over evbuffers
the serialize "method" will soon be used in other context where using
evbuffers would be awkward. Introduce a small abstraction over it: a
printfn (print function) fprintf-like.
- Commit:
75a8a1ecac7f6cd7162686de382f16ba0d1f21f2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move parsers to their own subdir