summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2017-09-19 08:43:43 +0530
committerPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2017-09-19 11:20:32 +0530
commit149c72ca069fd5c1fb8960607d7443536995d235 (patch)
tree1874170ffc0f57c94327a96791650c4d839da6de /utils
parent3d0953aa99eed434a1977de3131b264c48fca64b (diff)
socket: switch to MT-safe get host addr info
This was fixed in an attempt to clean the sockfd leaks Change-Id: Icd82635134050c83167a48b451b347f5c2b9bf39 Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com> Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/utils.h b/utils/utils.h
index ce1ef52..bd073ad 100644
--- a/utils/utils.h
+++ b/utils/utils.h
@@ -31,6 +31,7 @@
# define GB_LOCK_FILE GB_INFODIR "/gluster-blockd.lock"
# define GB_UNIX_ADDRESS GB_INFODIR "/gluster-blockd.socket"
# define GB_TCP_PORT 24010
+# define GB_TCP_PORT_STR "24010"
# define GFAPI_LOG_LEVEL 7