[Linux-decnet-commit] CVS: dnprogs/dncopy dnetfile_dap.cc,1.10,1.11
Brought to you by:
chrissie_c,
ph3-der-loewe
From: Patrick C. <pa...@us...> - 2006-01-17 11:34:13
|
Update of /cvsroot/linux-decnet/dnprogs/dncopy In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22089/dncopy Modified Files: dnetfile_dap.cc Log Message: If we get a status message in the middle of a send then we need to restart. Index: dnetfile_dap.cc =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/dncopy/dnetfile_dap.cc,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** dnetfile_dap.cc 5 Jan 2006 19:24:13 -0000 1.10 --- dnetfile_dap.cc 17 Jan 2006 11:33:54 -0000 1.11 *************** *** 260,263 **** --- 260,266 ---- return -1; } + // good STATUS here means we need to request the next record + if (dap_check_status(m, 0) == 0) + dap_send_get_or_put(); return dap_check_status(m,0); } |