Author: adrian.chadd
Date: Sun Feb  1 14:05:08 2009
New Revision: 13766

Modified:
    branches/LUSCA_HEAD/src/client_side.c

Log:
Another cheap strBuf() -> strLen2() / strBuf2() conversion



Modified: branches/LUSCA_HEAD/src/client_side.c
==============================================================================
--- branches/LUSCA_HEAD/src/client_side.c       (original)
+++ branches/LUSCA_HEAD/src/client_side.c       Sun Feb  1 14:05:08 2009
@@ -1743,8 +1743,9 @@
            /* delete old Content-Type, add ours */
            httpHeaderDelById(hdr, HDR_CONTENT_TYPE);
            httpHeaderPutStrf(hdr, HDR_CONTENT_TYPE,
-               "multipart/byteranges; boundary=\"%s\"",
-               strBuf(http->range_iter.boundary));
+               "multipart/byteranges; boundary=\"%.*s\"",
+               strLen2(http->range_iter.boundary),
+               strBuf2(http->range_iter.boundary));
            /* Content-Length is not required in multipart responses
             * but it is always nice to have one */
            actual_clen = clientMRangeCLen(http);

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to