Commit 394832c2 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Markus Oberhumer improved an out-of-memory check

I reformatted some functions using a different indent than the rest
of the file.
parent f636c122
Loading
Loading
Loading
Loading
+46 −47
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@ struct curl_slist *curl_slist_append(struct curl_slist *list,
    new_item->next = NULL;
    new_item->data = strdup(data);
  }
	else {
  if (new_item == NULL || new_item->data == NULL) {
    fprintf(stderr, "Cannot allocate memory for QUOTE list.\n");
    return NULL;
  }
@@ -128,7 +128,6 @@ void curl_slist_free_all(struct curl_slist *list)
  } while (next);
}


/* Curl_infof() is for info message along the way */

void Curl_infof(struct SessionHandle *data, const char *fmt, ...)