Commit 5be7d88b authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

same procedure, simpler code

parent 8a335ee7
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -975,13 +975,7 @@ static CURLcode
static
send_buffer *add_buffer_init(void)
{
  send_buffer *blonk;
  blonk = malloc(sizeof(send_buffer));
  if(blonk) {
    memset(blonk, 0, sizeof(send_buffer));
    return blonk;
  }
  return NULL; /* failed, go home */
  return calloc(sizeof(send_buffer), 1);
}

/*