summaryrefslogtreecommitdiff
path: root/src/references.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-10-18 21:02:21 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-10-18 21:02:21 -0700
commit93b1ac3408142fb08643de1d94a77384add2fd09 (patch)
tree10a8503081bdf478a26822adce07da6cc4535faa /src/references.c
parent2e01c72a7c4bd2d2eb0a91bed41daa45f0708587 (diff)
Reindented c sources.
Diffstat (limited to 'src/references.c')
-rw-r--r--src/references.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/references.c b/src/references.c
index 3e54b48..975bf81 100644
--- a/src/references.c
+++ b/src/references.c
@@ -55,7 +55,7 @@ static void add_reference(reference_map *map, reference* ref)
while (t) {
if (t->hash == ref->hash &&
- !strcmp((char *)t->label, (char *)ref->label)) {
+ !strcmp((char *)t->label, (char *)ref->label)) {
reference_free(ref);
return;
}
@@ -105,7 +105,7 @@ reference* reference_lookup(reference_map *map, chunk *label)
while (ref) {
if (ref->hash == hash &&
- !strcmp((char *)ref->label, (char *)norm))
+ !strcmp((char *)ref->label, (char *)norm))
break;
ref = ref->next;
}
@@ -138,4 +138,3 @@ reference_map *reference_map_new(void)
memset(map, 0x0, sizeof(reference_map));
return map;
}
-