This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Inetutils ".

http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=c198e79fa1b398c1f05a85d1d99314b63f05a10d

The branch, master has been updated
       via  c198e79fa1b398c1f05a85d1d99314b63f05a10d (commit)
      from  d3080c58a18f3f10f3e3372eb6f3ca5f1032dda7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c198e79fa1b398c1f05a85d1d99314b63f05a10d
Author: Simon Josefsson <[email protected]>
Date:   Fri Nov 13 18:06:53 2009 +0100

    Fix syntax-check sc_cast_of_argument_to_free.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog           |    6 ++++++
 hostname/hostname.c |    2 +-
 inetd/inetd.c       |    2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8b73928..782221e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-11-13  Simon Josefsson  <[email protected]>
+
+       * inetd/inetd.c (nextconfig): Fix syntax-check
+       sc_cast_of_argument_to_free.
+       * hostname/hostname.c (set_name): Likewise.
+
 2009-11-12  Simon Josefsson  <[email protected]>
 
        * bootstrap.conf (gnulib_modules): Add maintainer-makefile, to get
diff --git a/hostname/hostname.c b/hostname/hostname.c
index 271ffd1..9f399f3 100644
--- a/hostname/hostname.c
+++ b/hostname/hostname.c
@@ -225,7 +225,7 @@ set_name (const hostname_arguments *const args)
   if (status == -1)
     error (EXIT_FAILURE, errno, "sethostname");
 
-  free ((void *) hostname_new);
+  free (hostname_new);
   return;
 }
 
diff --git a/inetd/inetd.c b/inetd/inetd.c
index f4637c9..0b6d6d9 100644
--- a/inetd/inetd.c
+++ b/inetd/inetd.c
@@ -1305,7 +1305,7 @@ nextconfig (const char *file)
       if (debug)
        print_service ("FREE", sep);
       freeconfig (sep);
-      free ((char *) sep);
+      free (sep);
     }
   signal_unblock (&sigstatus);
 }


hooks/post-receive
-- 
GNU Inetutils 


_______________________________________________
Commit-inetutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-inetutils

Reply via email to