Skip to content
This repository was archived by the owner on Sep 8, 2021. It is now read-only.

Commit dbaa5e2

Browse files
committed
Updates after Seb's feedback #3
1 parent aa5c5eb commit dbaa5e2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

engine/src/srvmultipart.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class MCBoundaryReader
9999
{
100100
m_match_index++;
101101
m_have_char = false;
102-
if (m_match_index == MCStringgetLength(m_boundary))
102+
if (m_match_index == MCStringGetLength(m_boundary))
103103
{
104104
m_match_index = 0;
105105
r_boundary_reached = true;
@@ -533,7 +533,7 @@ bool MCMultiPartReadMessageFromStream(IO_handle p_stream, MCStringRef p_boundary
533533
t_boundary_length = MCStringGetLength(p_boundary);
534534
// typical boundary == CRLF & "--" & p_boundary
535535
if (t_success)
536-
t_success = MCStringFormat(t_boundary, "\r\n--%s", MCStringGetCString(p_boundary));
536+
t_success = MCStringFormat(t_boundary, "\r\n--%@", p_boundary);
537537

538538
if (t_success)
539539
t_success = MCMemoryAllocate(t_buffer_size, t_buffer);

0 commit comments

Comments
 (0)