diff options
author | Jeff Trawick <trawick@apache.org> | 2002-07-30 13:56:17 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2002-07-30 13:56:17 +0000 |
commit | 9c5ac8e1991b39ff570dd43d6ada1de0135884ae (patch) | |
tree | fad112f625fd7fb3ad7258628810906a99a58039 /network_io/unix/sockets.c | |
parent | ed600791729ee6e778667ccf116623c8dd3acf67 (diff) | |
download | apr-9c5ac8e1991b39ff570dd43d6ada1de0135884ae.tar.gz |
axe some checks for out-of-storage which are not helpful;
we'd already have segfaulted at this point and we don't normally
perform such checks anyway
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63741 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'network_io/unix/sockets.c')
-rw-r--r-- | network_io/unix/sockets.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/network_io/unix/sockets.c b/network_io/unix/sockets.c index ccf2fbdd0..057e56fdc 100644 --- a/network_io/unix/sockets.c +++ b/network_io/unix/sockets.c @@ -118,10 +118,6 @@ apr_status_t apr_socket_create(apr_socket_t **new, int ofamily, int type, alloc_socket(new, cont); - if ((*new)->local_addr == NULL || (*new)->remote_addr == NULL) { - return APR_ENOMEM; - } - (*new)->socketdes = socket(family, type, 0); #if APR_HAVE_IPV6 |