summaryrefslogtreecommitdiff
path: root/TSRM/TSRM.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2001-04-27 18:50:35 +0000
committerAndi Gutmans <andi@php.net>2001-04-27 18:50:35 +0000
commita2dbc5babda9e166ef14908cce0808ad8eaefe8b (patch)
tree2f8d764a2f7832bdf079f764ddb7a07163372b29 /TSRM/TSRM.c
parent8e43b4a840b80880ea7d75847481880425651998 (diff)
downloadphp-git-a2dbc5babda9e166ef14908cce0808ad8eaefe8b.tar.gz
- Fix some ws to be like the rest of TSRM
Diffstat (limited to 'TSRM/TSRM.c')
-rw-r--r--TSRM/TSRM.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/TSRM/TSRM.c b/TSRM/TSRM.c
index e7de2f9fbd..ac7033c0b1 100644
--- a/TSRM/TSRM.c
+++ b/TSRM/TSRM.c
@@ -254,7 +254,7 @@ TSRM_API void *ts_resource_ex(ts_rsrc_id id, THREAD_T *th_id)
int hash_value;
tsrm_tls_entry *thread_resources;
- if( !th_id ) {
+ if (!th_id) {
#if defined(PTHREADS)
/* Fast path for looking up the resources for the current
* thread. Its used by just about every call to
@@ -262,7 +262,7 @@ TSRM_API void *ts_resource_ex(ts_rsrc_id id, THREAD_T *th_id)
* and our hashtable lookup.
*/
thread_resources = pthread_getspecific( tls_key );
- if( thread_resources ) {
+ if (thread_resources) {
TSRM_ERROR(TSRM_ERROR_LEVEL_INFO, "Fetching resource id %d for current thread %d", id, (long) thread_resources->thread_id );
return ts_resource_read( thread_resources, id );
}