diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2002-07-30 13:56:17 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2002-07-30 13:56:17 +0000 |
commit | cd688acab82220f345d2b40d3858a48c9f637c56 (patch) | |
tree | fad112f625fd7fb3ad7258628810906a99a58039 /network_io/os2 | |
parent | fb70f2a2bc869f01d494c6c1ae1d6769a6080e71 (diff) | |
download | libapr-cd688acab82220f345d2b40d3858a48c9f637c56.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: http://svn.apache.org/repos/asf/apr/apr/trunk@63741 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'network_io/os2')
-rw-r--r-- | network_io/os2/sockets.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/network_io/os2/sockets.c b/network_io/os2/sockets.c index 0c2d5baa3..5e8312311 100644 --- a/network_io/os2/sockets.c +++ b/network_io/os2/sockets.c @@ -118,13 +118,6 @@ APR_DECLARE(apr_status_t) apr_socket_create(apr_socket_t **new, int family, int alloc_socket(new, cont); - if ((*new) == NULL) { - return APR_ENOMEM; - } - if ((*new)->local_addr == NULL || (*new)->remote_addr == NULL) { - return APR_ENOMEM; - } - (*new)->socketdes = socket(family, type, 0); #if APR_HAVE_IPV6 if ((*new)->socketdes < 0 && downgrade) { |