language: C99 strict (gcc-4.7.2)
date: 265 days 18 hours ago
link:
visibility: private
1
2
3
4
5
6
7
8
9
10
11
12
#define  _GNU_SOURCE
#include <stdio.h>
#include <string.h>
 
int main()
{
    char buffer[100] = "Something-something Content-Length: nnnn";
    char *tmpcp;
    tmpcp = strcasestr(buffer, "Content-Length:");
    printf("%p \n%p\n",tmpcp,buffer);
}