From 987f54c67c86bbb43e8d88fcaf914bdb5b3dc846 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 16 Feb 2007 06:22:14 +0000 Subject: * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Cosmetic change: don't pass NULL in place of an integer. --- sysdeps/unix/sysv/linux/x86_64/send.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sysdeps/unix/sysv/linux/x86_64') diff --git a/sysdeps/unix/sysv/linux/x86_64/send.c b/sysdeps/unix/sysv/linux/x86_64/send.c index c484ce69fe..fc768311f7 100644 --- a/sysdeps/unix/sysv/linux/x86_64/send.c +++ b/sysdeps/unix/sysv/linux/x86_64/send.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2001, 2002 Free Software Foundation, Inc. +/* Copyright (C) 2001, 2002, 2007 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -25,11 +25,12 @@ ssize_t __libc_send (int fd, const void *buf, size_t n, int flags) { if (SINGLE_THREAD_P) - return INLINE_SYSCALL (sendto, 6, fd, buf, n, flags, NULL, NULL); + return INLINE_SYSCALL (sendto, 6, fd, buf, n, flags, NULL, (size_t) 0); int oldtype = LIBC_CANCEL_ASYNC (); - ssize_t result = INLINE_SYSCALL (sendto, 6, fd, buf, n, flags, NULL, NULL); + ssize_t result = INLINE_SYSCALL (sendto, 6, fd, buf, n, flags, NULL, + (size_t) 0); LIBC_CANCEL_RESET (oldtype); -- cgit v1.2.3-70-g09d2