Gary Mills
mills@cc.UManitoba.CA
Wed Feb 19 18:56:24 UTC 2003
On Wed, Feb 19, 2003 at 11:40:12AM -0600, Gary Mills wrote: > > Okay, I figured out how to get `dbx' to work. Is this better? Here are a couple more variable dumps, along with code segments: (dbx) dump dcc_ck_body j = 44 p = 0x2c4948 "--=E2CE7E2F886B4DA780E8_300B_8327_BD73--^M\nid&" bnext = 0x2c4974 "&" bp0 = 0x2bfb38 c = '\n' blimit = 0x2c4975 "" bp = 0x2bfbbd "--=CF94944C4EBC4EC4A6DE_98B3_7F4A_86BF^M\nContent-Type: text/plain;charset="iso-8859-1"^M\nContent-Transfer-Encoding: Quoted-Printable^M\n^M\n^M\n^M\n^M\nMUSIC DVD^M\nPUNK-O-RAMA THE MOVIES VOL 1^M\nPANTY RAID!^M\nFABULOUS DISASTER^M\nASS COBRA^M\nTURBONEGRO^M\nLUCKY 7^M\nLucky 7^M\nNO VACATION FROM THE WORLD^M\nUSELESS I.D.^M\nREFUGE FOR DEGENERATES^M\nThe PEEPSHOWS^M\n^M\nHi there Gene Senior^M\nBURNING HEART NEWS (MILLENCOLIN, REFUSED, DIVISION OF LAURA LEE & more)=^M\n^M\n^M\nHi Guys & Girls,^M\nA bunch of great news from the Burning Heart Records crew" ... bstart = 0x2c4949 "-=E2CE7E2F886B4DA780E8_300B_8327_BD73--^M\nid&" cmp_len = 42 bp_len = 20029U i = 40 __func__ = "dcc_ck_body" cks = 0x130e50 391 if (*bnext != '\n') 392 MIME_BACK(); 393 394 /* We have matched the entire boundary. 395 * Checksum the buffer preceding the boundary including 396 * the '\n' before the boundary */ ---------------------------------------- 397 ck_body_sub(cks, bp, bstart-bp); ---------------------------------------- 398 399 /* then checksum the boundary */ 400 cks->mime_st = CK_ST_MIME_BOUNDARY; 401 ck_body_sub(cks, cks->mime_bndry, cmp_len); (dbx) dump ck_body_sub len = 1024 bp = 0x2c150e "top>^M\n<TD><FONT face=3D"Verdana, Arial, Helvetica, sans-serif" color=3D#fffff=^M\nf size=3D2><IMG src=3D"http://www.shock.com.au/EmailTemplates/../images=^M\n/image_library/Thumbnails/PINK405-2.jpg"></FONT></TD>^M\n<TD><FONT face=3D"Verdana, Arial, Helvetica, sans-serif" color=3D#fffff=^M\nf size=3D1><A href=3D"http://www.shock.com.au/EmailTemplates/../release=^M\ns/info.asp?release_ID=3D118509">PANTY RAID!<BR></A>FABULOUS DISASTER</F=^M\nONT></TD></TR>^M\n<TR vAlign=3Dtop>^M\n<TD><FONT face=3D"Verdana, Arial, Helvetica, s" ... bp_len = 13371U buf = "shock.com.au/EmailTemplates/images/WinOrange.gif\" width=60 border=0></A></DIV></TD></TR>\015\n<TR>\015\n<TD vAlign=center height=50>\015\n<DIV align=right><FONT color=#ffffff><A href=\"http://shock.com.au/audiovideo/index.asp\"><IMG height=42 alt=\"Click to Hear the Latest Releases from Shock\" src=\"http://www.shock.com.au/EmailTemplates/images/MultimediaButton2.jpg\" width=230 border=0></A></FONT></DIV></TD></TR></TBODY></TABLE></TD></TR>\015\n<TR vAlign=top>\015\n<TD bgColor=#666666>\015\n<P></P></TD>\015\n<TD bgColor=#666666 rowSpan=3>\015" ... __func__ = "ck_body_sub" cks = 0x130e50 192 #ifdef DCC_CKSUM_DEBUG 193 if (dcc_clnt_debug >= 4) 194 write(1, buf, len); 195 #endif 196 dcc_ck_body0(cks, buf, len); ---------------------------------------- 197 dcc_ck_fuz1(cks, buf, len); ---------------------------------------- 198 dcc_ck_fuz2(cks, buf, len); 199 } 200 } -- -Gary Mills- -Unix Support- -U of M Academic Computing and Networking-
More information about the DCC
mailing list