diff options
Diffstat (limited to 'ports-mgmt/bpm/files/patch-src::refresh.c')
-rw-r--r-- | ports-mgmt/bpm/files/patch-src::refresh.c | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/ports-mgmt/bpm/files/patch-src::refresh.c b/ports-mgmt/bpm/files/patch-src::refresh.c index 03b9c059749b..be123be85578 100644 --- a/ports-mgmt/bpm/files/patch-src::refresh.c +++ b/ports-mgmt/bpm/files/patch-src::refresh.c @@ -1,5 +1,5 @@ ---- src/refresh.c.orig Tue Aug 24 15:18:57 2004 -+++ src/refresh.c Tue Aug 24 15:20:12 2004 +--- src/refresh.c.orig Tue Aug 24 02:40:08 2004 ++++ src/refresh.c Tue Oct 12 12:31:32 2004 @@ -62,7 +62,11 @@ __RCSID("$Id: refresh.c,v 1.32 2004/08/24 02:40:08 sethk Exp $"); @@ -27,7 +27,23 @@ #endif /* DEBUG */ return FALSE; } -@@ -320,7 +326,6 @@ +@@ -195,12 +201,9 @@ + + for (i = 0; i < PFIELD_NFIELD; ++i) + { +- if (i < PFIELD_NFIELD - 1) +- { +- if (!(sp = strchr(line, '|'))) +- break; +- *sp++ = '\0'; +- } ++ if (!(sp = strchr(line, '|')) && i < PFIELD_NFIELD - 1) ++ break; ++ *sp++ = '\0'; + + switch (i) + { +@@ -320,7 +323,6 @@ if (_refresh_index_parse(ln, portdp, rdp) != TRUE) { |