chiark / gitweb /
Format lines_crlf call sites properly for new approach
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 10 May 2026 10:29:05 +0000 (11:29 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 10 May 2026 12:02:31 +0000 (13:02 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
client/client.rs

index 8251d98ecb99452f24121b0d17b2357963a05289..10a15a9d99f2277e4110ccc97556097171b7515a 100644 (file)
@@ -127,13 +127,13 @@ fn submit_request<'r, 'c:'r>(
        Content-Type: text/plain; charset="utf-8"
        Content-Disposition: form-data; name="m"
        "#),
-                       &c.ic.link.client,
-                       token,
-                       c.ic.target_requests_outstanding,
-                       show_timeout,
-                       c.ic.mtu,
-                       c.ic.max_batch_down,
-                       c.ic.max_batch_up,
+                            &c.ic.link.client,
+                            token,
+                            c.ic.target_requests_outstanding,
+                            show_timeout,
+                            c.ic.mtu,
+                            c.ic.max_batch_down,
+                            c.ic.max_batch_up,
   );
 
   let prefix2 = lines_crlf!(&LitLinesCrlf(r#"
@@ -141,12 +141,12 @@ fn submit_request<'r, 'c:'r>(
        --b
        Content-Type: application/octet-stream
        Content-Disposition: form-data; name="d"
-       "#),
-  );
+       "#,
+  ));
   let suffix = lines_crlf!(&LitLinesCrlf(r#"
 
-       --b--"#),
-  );
+       --b--"#,
+  ));
 
   macro_rules! content { {
     $out:ty,