trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sor...@apache.org
Subject [2/2] git commit: TS-2091: Fix spacing in separate commit
Date Sun, 04 Aug 2013 01:35:43 GMT
TS-2091: Fix spacing in separate commit


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/c6d0fe0e
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/c6d0fe0e
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/c6d0fe0e

Branch: refs/heads/master
Commit: c6d0fe0e6109fda7f8c8b3791b1b0083fdd09e7b
Parents: ef06341
Author: Phil Sorber <sorber@apache.org>
Authored: Sat Aug 3 19:34:33 2013 -0600
Committer: Phil Sorber <sorber@apache.org>
Committed: Sat Aug 3 19:34:33 2013 -0600

----------------------------------------------------------------------
 lib/records/RecCore.cc | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c6d0fe0e/lib/records/RecCore.cc
----------------------------------------------------------------------
diff --git a/lib/records/RecCore.cc b/lib/records/RecCore.cc
index 46208ba..4571eef 100644
--- a/lib/records/RecCore.cc
+++ b/lib/records/RecCore.cc
@@ -502,13 +502,13 @@ RecGetRecordOrderAndId(const char *name, int* order, int* id, bool lock)
 
   if (ink_hash_table_lookup(g_records_ht, name, (void **) &r)) {
     if (r->registered) {
-    rec_mutex_acquire(&(r->lock));
-    if (order)
-      *order = r->order;
-    if (id)
-      *id = r->rsb_id;
-    err = REC_ERR_OKAY;
-    rec_mutex_release(&(r->lock));
+      rec_mutex_acquire(&(r->lock));
+      if (order)
+        *order = r->order;
+      if (id)
+        *id = r->rsb_id;
+      err = REC_ERR_OKAY;
+      rec_mutex_release(&(r->lock));
     }
   }
 


Mime
View raw message