summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-29 17:52:53 -0400
committerJune McEnroe <june@causal.agency>2020-04-29 17:52:53 -0400
commit0f1d5473395419e48771101524d87b2ebe4b2be9 (patch)
tree0e85cd382a59ca556414ad81096f8fab364be890
parentHighlight diff/index/---/+++ lines of patches as well (diff)
downloadbubger-0f1d5473395419e48771101524d87b2ebe4b2be9.tar.gz
bubger-0f1d5473395419e48771101524d87b2ebe4b2be9.zip
Fix infinite loop if exportAtom can't find a text part
Oops. But also why the hell are people making multipart/alternative with
only text/html inside?
Diffstat (limited to '')
-rw-r--r--export.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/export.c b/export.c
index c808ba8..9e40870 100644
--- a/export.c
+++ b/export.c
@@ -129,6 +129,7 @@ static void exportAtom(
 				body = dataCheck(body, List).list.ptr[i];
 				break;
 			}
+			if (part->multipart) break;
 		} else {
 			part = &part->parts.ptr[0];
 			body = dataCheck(body, List).list.ptr[0];
2Collapse simple linksJune McEnroe 2020-02-12Move catgirl up the pageJune McEnroe 2020-02-12Update catgirl pty grabJune McEnroe 2020-02-12Link to cgit /about pages where appropriateJune McEnroe 2020-02-11Separate LINKS from BINS for html to workJune McEnroe 2020-02-11Add margin to Bl-bullet itemsJune McEnroe 2020-02-10Match URLs inside parens or with paired parens insideJune McEnroe 2020-02-10Duplicate effective URL before passing it back to curlJune McEnroe Apparently sometimes it didn't like receiving its own internal storage to parse again. Understandable. 2020-02-09Add To Be Taught, If FortunateJune McEnroe 2020-02-04Add The Future of Another TimelineJune McEnroe Wow. One of the best I've read. 2020-01-31Reorganize the Makefile for the umpteenth timeJune McEnroe Broke out LDLIBS for each bin, and made everything more uniform. 2020-01-28Change scout sensitivity to 1.4June McEnroe idk it seems to work. 2020-01-28Import shows.txtJune McEnroe