~ubuntu-branches/ubuntu/wily/trafficserver/wily

« back to all changes in this revision

Viewing changes to proxy/hdrs/HdrUtils.cc

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2012-12-17 22:28:16 UTC
  • mfrom: (5.1.8 raring-proposed)
  • Revision ID: package-import@ubuntu.com-20121217222816-7xwjsx5k76zkb63d
Tags: 3.2.0-1ubuntu1
* Revert FreeBSD strerror_r() fixes that give errors with glibc 2.16.
* Apply patch from Konstantinos Margaritis to define barriers on ARM.

Show diffs side-by-side

added added

removed removed

Lines of Context:
167
167
        const char* v = iter.get_first(tests[i], strlen(tests[i]), &len);
168
168
 
169
169
        while (v) {
170
 
            char* str_v = (char*)malloc(len+1);
 
170
            char* str_v = (char*)ats_malloc(len+1);
171
171
            memcpy(str_v, v, len);
172
172
            str_v[len] = '\0';
173
173
            printf ("%s|", str_v);