summaryrefslogtreecommitdiff
path: root/src/pqsort.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-06-26 18:48:40 +0200
committerantirez <antirez@gmail.com>2014-06-26 18:48:40 +0200
commit95b1979c321eb6353f75df892ab8be68cf8f9a77 (patch)
tree0e9aab40f1c669572ea2830a080b2e6b0e350a4b /src/pqsort.c
parent97f1fc65cf0331a367c2075c3adf09964dda2556 (diff)
downloadredis-95b1979c321eb6353f75df892ab8be68cf8f9a77.tar.gz
No more trailing spaces in Redis source code.
Diffstat (limited to 'src/pqsort.c')
-rw-r--r--src/pqsort.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pqsort.c b/src/pqsort.c
index 7325a88a4..508c09f92 100644
--- a/src/pqsort.c
+++ b/src/pqsort.c
@@ -69,7 +69,7 @@ static inline void
swapfunc(char *a, char *b, size_t n, int swaptype)
{
- if (swaptype <= 1)
+ if (swaptype <= 1)
swapcode(long, a, b, n)
else
swapcode(char, a, b, n)
@@ -160,9 +160,9 @@ loop: SWAPINIT(a, es);
(lrange > _r && rrange > _r)))
_pqsort(a, r / es, es, cmp, lrange, rrange);
}
- if ((r = pd - pc) > es) {
+ if ((r = pd - pc) > es) {
void *_l, *_r;
-
+
/* Iterate rather than recurse to save stack space */
a = pn - r;
n = r / es;