diff options
Diffstat (limited to 'ace/SOCK_IO.cpp')
-rw-r--r-- | ace/SOCK_IO.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ace/SOCK_IO.cpp b/ace/SOCK_IO.cpp index abf00af3559..2431033c70d 100644 --- a/ace/SOCK_IO.cpp +++ b/ace/SOCK_IO.cpp @@ -94,7 +94,9 @@ ACE_SOCK_IO::send (size_t n, ...) const #if defined (ACE_HAS_ALLOCA) iovp = (iovec *) alloca (total_tuples * sizeof (iovec)); #else - ACE_NEW_RETURN (iovp, iovec[total_tuples], -1); + ACE_NEW_RETURN (iovp, + iovec[total_tuples], + -1); #endif /* !defined (ACE_HAS_ALLOCA) */ va_start (argp, n); @@ -132,7 +134,9 @@ ACE_SOCK_IO::recv (size_t n, ...) const #if defined (ACE_HAS_ALLOCA) iovp = (iovec *) alloca (total_tuples * sizeof (iovec)); #else - ACE_NEW_RETURN (iovp, iovec[total_tuples], -1); + ACE_NEW_RETURN (iovp, + iovec[total_tuples], + -1); #endif /* !defined (ACE_HAS_ALLOCA) */ va_start (argp, n); |