Commit 9f96e6da authored by Steve Holme's avatar Steve Holme
Browse files

pop.c: Small code tidy up

parent 01690ed2
Loading
Loading
Loading
Loading
+9 −8
Original line number Diff line number Diff line
@@ -621,6 +621,7 @@ static CURLcode pop3_init(struct connectdata *conn)
{
  struct SessionHandle *data = conn->data;
  struct FTP *pop3 = data->state.proto.pop3;

  if(!pop3) {
    pop3 = data->state.proto.pop3 = calloc(sizeof(struct FTP), 1);
    if(!pop3)