]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Cosmetic
authorUlrich Drepper <drepper@redhat.com>
Fri, 16 Feb 2007 06:22:14 +0000 (06:22 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 16 Feb 2007 06:22:14 +0000 (06:22 +0000)
change: don't pass NULL in place of an integer.

ChangeLog
sysdeps/unix/sysv/linux/x86_64/send.c

index 52058a175dc6df011e8ffa0beb0186add667759a..03983491855a594b7e3c9db27eb8d276122d55ed 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-02-15  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Cosmetic
+       change: don't pass NULL in place of an integer.
+
 2007-02-02  Bruno Haible  <bruno@clisp.org>
 
        [BZ #3954]
index c484ce69fe11c8de0a9adef2d5f3987ade94816b..fc768311f706caffc18c64bee0429a1faeaa19d5 100644 (file)
@@ -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);