Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv14277
Modified Files:
zaptel.c
Log Message:
make 'cat /proc/zaptel/1' not fail with ztdummy loaded (issue #5069)
Index: zaptel.c
===================================================================
RCS file: /usr/cvsroot/zaptel/zaptel.c,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -d -r1.113 -r1.114
--- zaptel.c 31 Aug 2005 21:41:37 -0000 1.113
+++ zaptel.c 2 Sep 2005 20:26:02 -0000 1.114
@@ -571,6 +571,11 @@
}
}
}
+ if ( len <= off ) /* If everything printed so far is before beginning
of request */
+ {
+ off -= len;
+ len = 0;
+ }
*start = page + off;
return len;
}
_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs