]> git.pld-linux.org Git - packages/poldek.git/commitdiff
- correct patch
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 21 Apr 2005 20:55:53 +0000 (20:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    poldek-cookie.patch -> 1.6

poldek-cookie.patch

index b01b3c1a4373d6a973049312670b0fbd5ed5ace4..0bf67564115808f18a3c55eeb3574403b4b832ab 100644 (file)
@@ -58,8 +58,8 @@ diff -urN poldek-0.18.8.org/pkgu.c poldek-0.18.8/pkgu.c
 +          logn(LOGERR, "pkguinf_restore: ftell %ld: %m", currseek);
 +          return NULL;
 +      }
-+      if (seek >= currseek) {
-+          currseek = seek - currseek;
++      if (offset >= currseek) {
++          currseek = offset - currseek;
 +          if (currseek) {
 +              buf = malloc(currseek);
 +              if (!buf) {
This page took 0.078296 seconds and 4 git commands to generate.