while (' ' == *status) ++status;
HTTP_INFO(info).response.status = estrndup(status, end - status);
} else {
- HTTP_INFO(info).response.status = ecalloc(1, 1);
+ HTTP_INFO(info).response.status = NULL;
}
return SUCCESS;
return FAILURE;
}
} else {
- HTTP_INFO(info).request.method = ecalloc(1, 1);
- HTTP_INFO(info).request.url = ecalloc(1, 1);
+ HTTP_INFO(info).request.method = NULL;
+ HTTP_INFO(info).request.url = NULL;
}
return SUCCESS;
}
}
-
/*
* Local variables:
* tab-width: 4