]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: set default value for env->get() call 6042/head
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 25 Sep 2015 17:44:40 +0000 (10:44 -0700)
committerRobin H. Johnson <robin.johnson@dreamhost.com>
Mon, 28 Sep 2015 20:23:36 +0000 (13:23 -0700)
commit424fc1ccb244f5084f94904cb20cbf88a1bd4638
tree95a1eefc2bffe3bc9dc450b3c2b007d66f8c09b4
parenta3afb3f59435050efa711436134b4abe63a8f5cf
rgw: set default value for env->get() call

Fixes: #13239
This fixes a regression introduced at commit abe4ec293d08b0314bf5c081ace2456073f3a22c.
The host var is a string, env->get() returns a char pointer, shouldn't
pass in NULL.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 0d5730efc0054334897315dc23ba04f30548e36e)
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
src/rgw/rgw_common.cc