1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/mail/sigrot/files/patch-ab
Michael Haro 2f8ccb0e75 fix runtime seg fault
PR:		17281
Submitted by:	muk@bender.cl.msu.edu
2000-04-02 01:19:05 +00:00

16 lines
279 B
Plaintext

--- sigrot.c.orig Sat Apr 1 17:17:32 2000
+++ sigrot.c Sat Apr 1 17:18:06 2000
@@ -167,9 +167,10 @@
inFile=fopen(Next,"r");
if (inFile==NULL)
next=1;
- else
+ else {
fscanf(inFile,"%d",&next);
- fclose(inFile);
+ fclose(inFile);
+ }
return next;
}