[hipl-commit] [tiny] Rev 3643: Remove pointless comment and fixed style in hip_read_user_control_msg.

  • From: Tim Just <tim.just@xxxxxxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Tue, 9 Mar 2010 17:11:50 +0200

Committer: Tim Just <tim.just@xxxxxxxxxxxxxx>
Date: Tue Mar 09 16:11:22 2010 +0100
Revision: 3643
Revision-id: tim.just@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: tiny

Log:
  Remove pointless comment and fixed style in hip_read_user_control_msg.

Modified:
  M  lib/core/message.c

=== modified file 'lib/core/message.c'
--- lib/core/message.c  2010-03-09 14:14:54 +0000
+++ lib/core/message.c  2010-03-09 15:11:22 +0000
@@ -502,12 +502,13 @@
 
     _HIP_DEBUG("msg total length = %d\n", total);
 
-    /** @todo Compiler warning;
-     *  warning: pointer targets in passing argument 6 of 'recvfrom'
-     *  differ in signedness. */
-    HIP_IFEL(((bytes = recvfrom(socket, hip_msg, total, 0,
+    HIP_IFEL(((bytes = recvfrom(socket,
+                                hip_msg,
+                                total,
+                                0,
                                 (struct sockaddr *) saddr,
-                                &len)) != total), -1, "recv\n");
+                                &len)) != total),
+               -1, "recv\n");
 
     HIP_DEBUG("received user message from local port %d\n",
               ntohs(saddr->sin6_port));

Other related posts:

  • » [hipl-commit] [tiny] Rev 3643: Remove pointless comment and fixed style in hip_read_user_control_msg. - Tim Just