Revisions for untitled paste

View the changes made to this paste.

unlisted ⁨1⁩ ⁨file⁩ 2021-10-26 21:16:18 UTC

foo.diff

@@ -0,0 +1,12 @@

+diff --git a/src/payload.c b/src/payload.c
+index 0a57186..2fdba80 100644
+--- a/src/payload.c
++++ b/src/payload.c
+@@ -208,6 +208,7 @@ int payload_run(void)
+     if (target) {
+         strcpy(expect_compatible, "apple,");
+         char *p = expect_compatible + strlen(expect_compatible);
++       target = "j274";
+         while (*target && p != expect_compatible + sizeof(expect_compatible) - 1) {
+             *p++ = tolower(*target++);
+         }
\ No newline at end of file