about summary refs log tree commit diff
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/parse.c b/parse.c
index e2f2a99..ead3b15 100644
--- a/parse.c
+++ b/parse.c
@@ -122,7 +122,9 @@ static void parseDisposition(struct BodyPart *part, struct List list) {
 }
 
 static void parseNonMultipart(struct BodyPart *part, struct List list) {
-	enum { Type, Subtype, Params, ID, Description, Encoding, Size, BasicLen };
+	enum {
+		Type, Subtype, Params, ContentID, Description, Encoding, Size, BasicLen
+	};
 	if (list.len < BasicLen) errx(EX_PROTOCOL, "missing body part fields");
 
 	part->multipart = false;
@@ -131,8 +133,8 @@ static void parseNonMultipart(struct BodyPart *part, struct List list) {
 	if (list.ptr[Params].type == List) {
 		part->params = list.ptr[Params].list;
 	}
-	if (list.ptr[ID].type == String) {
-		part->id = list.ptr[ID].string;
+	if (list.ptr[ContentID].type == String) {
+		part->contentID = list.ptr[ContentID].string;
 	}
 	if (list.ptr[Description].type == String) {
 		part->description = list.ptr[Description].string;
mp;follow=1'>Set pull.rebase trueJune McEnroe 2020-07-18Read from stdin in orderJune McEnroe 2020-07-18Actually fix nvim and doas presence testsJune McEnroe 2020-07-14Install up CGI with mode 700June McEnroe It should never be served as a regular file. 2020-07-14Check that there is upload dataJune McEnroe 2020-07-14Add CGI upload program for temp.causal.agencyJune McEnroe 2020-07-10Add The Broken KingdomsJune McEnroe 2020-07-08Add facebook and twitter to title user-agentJune McEnroe This fixes fetching tweets again! https://github.com/thelounge/thelounge/pull/ 3602 (Intentionally breaking the link so GitHub doesn't add a "referenced this PR" thing?) 2020-06-30Tweak causal.agency for mostly no reasonJune McEnroe 2020-06-30Add Ancillary JusticeJune McEnroe 2020-06-26Add password non-manager to planJune McEnroe I've had this idea for years... 2020-06-26Tweak TF2 sensitivities once moreJune McEnroe 2020-06-19Add note about litterbox bot useJune McEnroe 2020-06-19Publish "IRC suite"June McEnroe 2020-06-17Add errors to link.shJune McEnroe