[Python-checkins] CVS: python/dist/src/Modules socketmodule.c,1.206,1.207
Martin v. L?wis
loewis@users.sourceforge.net
Sat, 16 Feb 2002 15:13:56 -0800
- Previous message: [Python-checkins] CVS: python/dist/src/Lib ftplib.py,1.60.10.1,1.60.10.2 gopherlib.py,1.10,1.10.16.1 httplib.py,1.42,1.42.10.1 imaplib.py,1.39.8.2,1.39.8.3 nntplib.py,1.28,1.28.10.1 poplib.py,1.19,1.19.6.1 smtplib.py,1.46,1.46.4.1 socket.py,1.16,1.16.4.1 telnetlib.py,1.16,1.16.10.1
- Next message: [Python-checkins] CVS: python/dist/src/Lib/lib-tk tkCommonDialog.py,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv23101
Modified Files:
socketmodule.c
Log Message:
Remove extraneous variable 'total', as reported by James Rucker.
Index: socketmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/socketmodule.c,v
retrieving revision 1.206
retrieving revision 1.207
diff -C2 -d -r1.206 -r1.207
*** socketmodule.c 16 Feb 2002 18:47:07 -0000 1.206
--- socketmodule.c 16 Feb 2002 23:13:54 -0000 1.207
***************
*** 1498,1502 ****
{
char *buf;
! int len, n, flags = 0, total = 0;
if (!PyArg_ParseTuple(args, "s#|i:sendall", &buf, &len, &flags))
return NULL;
--- 1498,1502 ----
{
char *buf;
! int len, n, flags = 0;
if (!PyArg_ParseTuple(args, "s#|i:sendall", &buf, &len, &flags))
return NULL;
***************
*** 1506,1510 ****
if (n < 0)
break;
- total += n;
buf += n;
len -= n;
--- 1506,1509 ----
- Previous message: [Python-checkins] CVS: python/dist/src/Lib ftplib.py,1.60.10.1,1.60.10.2 gopherlib.py,1.10,1.10.16.1 httplib.py,1.42,1.42.10.1 imaplib.py,1.39.8.2,1.39.8.3 nntplib.py,1.28,1.28.10.1 poplib.py,1.19,1.19.6.1 smtplib.py,1.46,1.46.4.1 socket.py,1.16,1.16.4.1 telnetlib.py,1.16,1.16.10.1
- Next message: [Python-checkins] CVS: python/dist/src/Lib/lib-tk tkCommonDialog.py,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]