[svn:parrot] r46728 - trunk/runtime/parrot/library
fperrad at svn.parrot.org
fperrad at svn.parrot.org
Mon May 17 09:01:19 UTC 2010
Author: fperrad
Date: Mon May 17 09:01:14 2010
New Revision: 46728
URL: https://trac.parrot.org/parrot/changeset/46728
Log:
[LWP] refactor with StringBuilder.get_string_length(), bacek++
Modified:
trunk/runtime/parrot/library/LWP.pir
Modified: trunk/runtime/parrot/library/LWP.pir
==============================================================================
--- trunk/runtime/parrot/library/LWP.pir Mon May 17 08:42:03 2010 (r46727)
+++ trunk/runtime/parrot/library/LWP.pir Mon May 17 09:01:14 2010 (r46728)
@@ -782,7 +782,7 @@
if $S0 == '' goto L21
content_length = $S0
L23:
- $I0 = buf
+ $I0 = buf.'get_string_length'()
$I0 -= header_length
$N0 = $I0 / content_length
ua.'progress'($N0, request)
More information about the parrot-commits
mailing list