Deleted Added
1
2/*
3 * Copyright (C) NGINX, Inc.
4 */
5
6#include <stdlib.h>
7
8#include "nxt_main.h"

--- 4298 unchanged lines hidden (view full) ---

4307 rc = NXT_UNIT_ERROR;
4308 goto unlock;
4309 }
4310
4311 new_port->port = *port;
4312
4313 rc = nxt_unit_port_hash_add(&lib->ports, &new_port->port);
4314 if (nxt_slow_path(rc != NXT_UNIT_OK)) {
4315 goto unlock;
4316 }
4317
4318 nxt_queue_insert_tail(&process->ports, &new_port->link);
4319
4320 rc = NXT_UNIT_OK;
4321
4322 new_port->process = process;

--- 673 unchanged lines hidden ---