# | Line 211 | Line 211 | char *pout, *zout, *prvr; | |
---|---|---|
211 | } | |
212 | if (pout != NULL) { | |
213 | sprintf(fbuf, pout, seq); | |
214 | < | if (!strcmp(prvr, fbuf)) { /* rename recover file */ |
214 | > | if (prvr != NULL && !strcmp(prvr, fbuf)) { /* rename */ |
215 | fbuf2[0] = '\0'; | |
216 | if ((cp = rindex(fbuf, '/')) != NULL) | |
217 | strncpy(fbuf2, fbuf, cp-fbuf+1); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |