Author: tzafrir
Date: Thu Mar 20 20:09:04 2008
New Revision: 4037
URL: http://svn.digium.com/view/zaptel?view=rev&rev=4037
a>
Log:
Revert accidental changes to hdlcstress.c
Modified:
branches/1.2/hdlcstress.c
Modified: branches/1.2/hdlcstress.c
URL: http:/
/svn.digium.com/view/zaptel/branches/1.2/hdlcstress.c?view=d
iff&rev=4037&r1=4036&r2=4037
============================================================
==================
--- branches/1.2/hdlcstress.c (original)
+++ branches/1.2/hdlcstress.c Thu Mar 20 20:09:04 2008
 -74,6
+74,7 
{
int res;
int x;
+ int out;
unsigned char outbuf[BLOCK_SIZE];
int pos=0;
unsigned int fcs = PPP_INITFCS;
 -112,13
+113,16 
int main(int argc, char *argv[])
{
int fd2;
- int res;
+ int ires, res, x;
int i;
ZT_PARAMS tp;
ZT_BUFFERINFO bi;
int bs = BLOCK_SIZE;
unsigned char c=0;
+ unsigned char inbuf[BLOCK_SIZE];
unsigned char outbuf[BLOCK_SIZE];
+ unsigned int fcs;
+ static int packets=0;
if (argc < 2) {
fprintf(stderr, "Usage: markhdlctest <tor
device>n");
exit(1);
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.c
om--
zaptel-commits mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/zaptel-commits
a>
|