Skip to content

Commit 4584698

Browse files
committed
Fixup
1 parent 7850762 commit 4584698

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/MongoDB/ServerDescription.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ HashTable* php_phongo_serverdescription_get_properties_hash(zend_object* object,
197197
PHONGO_GET_PROPERTY_HASH_INIT_PROPS(is_debug, intern, props, 6);
198198

199199
if (!intern->server_description) {
200-
PHONGO_RETURN_PROPS(is_temp, props);
200+
PHONGO_RETURN_PROPS(is_debug, props);
201201
}
202202

203203
{
@@ -260,7 +260,7 @@ HashTable* php_phongo_serverdescription_get_properties_hash(zend_object* object,
260260
}
261261

262262
done:
263-
PHONGO_RETURN_PROPS(is_temp, props);
263+
PHONGO_RETURN_PROPS(is_debug, props);
264264
}
265265

266266
static HashTable* php_phongo_serverdescription_get_debug_info(zend_object* object, int* is_temp)

src/MongoDB/TopologyDescription.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ HashTable* php_phongo_topologydescription_get_properties_hash(zend_object* objec
146146
PHONGO_GET_PROPERTY_HASH_INIT_PROPS(is_debug, intern, props, 2);
147147

148148
if (!intern->topology_description) {
149-
PHONGO_RETURN_PROPS(is_temp, props);
149+
PHONGO_RETURN_PROPS(is_debug, props);
150150
}
151151

152152
{
@@ -173,7 +173,7 @@ HashTable* php_phongo_topologydescription_get_properties_hash(zend_object* objec
173173
zend_hash_str_update(props, "type", sizeof("type") - 1, &type);
174174
}
175175

176-
PHONGO_RETURN_PROPS(is_temp, props);
176+
PHONGO_RETURN_PROPS(is_debug, props);
177177
}
178178

179179
static HashTable* php_phongo_topologydescription_get_debug_info(zend_object* object, int* is_temp)

0 commit comments

Comments
 (0)