/*edited code for line beaker */
char *colon_loc_temp = colon_loc;
while (line_breaker_loc == NULL) {
- if(colon_loc_temp == NULL) {
- _DEBUG_ERROR("[encoding_util] colon_loc_temp is NULL !!\n");
- if(de_temp != NULL)
- free(de_temp);
- if (*de_src != NULL)
- free(*de_src);
- return 0;
- }
line_breaker_loc = strstr(colon_loc_temp, line_breaker); /* find "\r\n"'s location */
if (line_breaker_loc > colon_loc_temp && !strncmp(line_breaker_loc - 1, "=", 1)) {
colon_loc_temp = line_breaker_loc + 1;