[hipl-commit] [trunk] Rev 4317: Remove disabled code from the lib/conf/ directory.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Fri, 16 Apr 2010 04:27:10 +0300

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 16/04/2010 at 04:27:10
Revision: 4317
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Remove disabled code from the lib/conf/ directory.

Modified:
  M  lib/conf/hipconf.c

=== modified file 'lib/conf/hipconf.c'
--- lib/conf/hipconf.c  2010-04-13 15:59:48 +0000
+++ lib/conf/hipconf.c  2010-04-16 01:26:53 +0000
@@ -2015,8 +2015,6 @@
     ret_HIT = inet_pton(AF_INET6, opt[0], &ip_gw_mapped);
 
     if (!(ret_IP || ret_HIT)) {
-        //HIP_ERROR("Gateway address not correct\n");
-        //goto out_err;
         memcpy(hostname, opt[0], HIP_HOST_ID_HOSTNAME_LEN_MAX - 1);
         hostname[HIP_HOST_ID_HOSTNAME_LEN_MAX - 1] = '\0';
         ret_HOSTNAME                               = 1;
@@ -2644,13 +2642,6 @@
             libs[3] = "libhipopendht.so";
         }
 
-#if 0
-        if (type != EXEC_LOADLIB_NONE) {
-            setenv("LD_PRELOAD", libs, 1);
-            HIP_DEBUG("LD_PRELOADing\n");
-        }
-#endif
-
         hip_append_pathtolib(libs, lib_all, LIB_LENGTH);
         setenv("LD_PRELOAD", lib_all, 1);
         HIP_DEBUG("LD_PRELOADing: %s\n", lib_all);

Other related posts:

  • » [hipl-commit] [trunk] Rev 4317: Remove disabled code from the lib/conf/ directory. - Diego Biurrun