]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: set default value for env->get() call 6110/head
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 25 Sep 2015 17:44:40 +0000 (10:44 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Tue, 29 Sep 2015 15:18:32 +0000 (08:18 -0700)
commit3f000421c69affc5fa94fec743117d51f16c48f0
treeaea006a0fc313833bcbb42c4cf8e7681d17cafaf
parentbee3bdf551ac5853f0e3fe5b2192e9581c2a5993
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>
src/rgw/rgw_common.cc