[pywin32-checkins] pywin32/win32/src win32inet.i,1.8,1.9
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Roger U. <ru...@us...> - 2008-04-07 22:10:30
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3070 Modified Files: win32inet.i Log Message: Trim trailing NULL from data returned by InternetGetCookie Index: win32inet.i =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/win32inet.i,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** win32inet.i 7 Apr 2008 20:02:29 -0000 1.8 --- win32inet.i 7 Apr 2008 22:10:35 -0000 1.9 *************** *** 394,398 **** PyWin_SetAPIError("InternetGetCookie"); else ! ret=PyWinObject_FromTCHAR(buf, cb); done: if (buf) free(buf); --- 394,398 ---- PyWin_SetAPIError("InternetGetCookie"); else ! ret=PyWinObject_FromTCHAR(buf, cb-1); done: if (buf) free(buf); |