All pastes #1081385 Raw Edit

Unnamed

public text v1 · immutable
#1081385 ·published 2008-07-24 01:23 UTC
rendered paste body
chaos@tellurium:~/brmh2.5/brmh-dev-20071022$ cat patch.txt
--- brmh-dev-20071022.orig/feature.c    2007-10-09 02:32:24.000000000 +1000
+++ brmh-dev-20071022/feature.c 2008-07-24 10:04:24.000000000 +1000
@@ -140,8 +140,7 @@
   if (features[i].name == 0) {
      fprintf(stderr, "Feature %s from server unknown to client!\n",
             packet->name);
-   }
-   if (!strcmp(features[i].name, "UPS"))
+   } else if (!strcmp(features[i].name, "UPS"))
   {
       cloak_phases = F_ups * 2 - 3;
       if (cloak_phases < 3)

chaos@tellurium:~/brmh2.5/brmh-dev-20071022$ patch < patch.txt
patching file feature.c
Hunk #1 FAILED at 140.
1 out of 1 hunk FAILED -- saving rejects to file feature.c.rej