Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- unsigned int index = 0;
- while (index < length)
- {
- if (string[index] == '\r')
- {
- if (strncmp("\r\n\r\n", string + index, 4) == 0)
- {
- return string + index + 4;
- }
- }
- ++index;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement