mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
+2
-1
@@ -272,7 +272,8 @@ __xdata uint8_t *scan_header(__xdata uint8_t *p)
|
|||||||
dbg_string("\nFound multipart\n");
|
dbg_string("\nFound multipart\n");
|
||||||
content_type += 30;
|
content_type += 30;
|
||||||
uint8_t i = 0;
|
uint8_t i = 0;
|
||||||
while (content_type[i] != '\r' && content_type[i] != '\n') {
|
while (i < (sizeof(boundary) - 5) &&
|
||||||
|
content_type[i] != '\r' && content_type[i] != '\n') {
|
||||||
boundary[i + 4] = content_type[i];
|
boundary[i + 4] = content_type[i];
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user