updated on Fri Jan 20 04:00:45 UTC 2012
[aur-mirror.git] / efax-enhanced / efax-0.9a-frlen.patch
blob664dce4a6a9ced6e58780450d1eb4740f43167f7
1 --- efax.c.org 2003-01-08 19:14:05.000000000 +0900
2 +++ efax.c 2003-01-08 21:06:12.000000000 +0900
3 @@ -1123,7 +1123,9 @@
5 int getfr ( TFILE *mf, uchar *buf, int getcmd )
7 - int err=0, frame=0, frlen, c, t ;
8 + /* frlen should be initialized to be zero */
9 + /* informed from Steven Doerfler <steven@lugaru.com> */
10 + int err=0, frame=0, frlen=0, c, t ;
11 char remoteid [ IDLEN + 1 ] ;
12 time_t start ;
13 uchar *fif=buf+3 ;