changeset 21807:949ab17b9294

lib: Fix whitespace in var-expand.c
author Aki Tuomi <aki.tuomi@dovecot.fi>
date Tue, 22 Nov 2016 10:54:43 +0200
parents 4108cd284c71
children 5c323f23282f
files src/lib/var-expand.c
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib/var-expand.c	Sat Feb 25 23:34:03 2017 +0200
+++ b/src/lib/var-expand.c	Tue Nov 22 10:54:43 2016 +0200
@@ -91,7 +91,7 @@
 	str_printfa(hash, "%x", value);
 	while ((int)str_len(hash) < ctx->offset)
 		str_insert(hash, 0, "0");
-        ctx->offset = 0;
+	ctx->offset = 0;
 
 	return str_c(hash);
 }
@@ -118,7 +118,7 @@
 	str_printfa(hash, "%x", (unsigned int)value);
 	while ((int)str_len(hash) < ctx->offset)
 		str_insert(hash, 0, "0");
-        ctx->offset = 0;
+	ctx->offset = 0;
 
 	return str_c(hash);
 }
@@ -178,7 +178,7 @@
 static const char *
 var_expand_short(const struct var_expand_table *table, char key)
 {
-        const struct var_expand_table *t;
+	const struct var_expand_table *t;
 
 	if (table != NULL) {
 		for (t = table; !TABLE_LAST(t); t++) {
@@ -370,7 +370,7 @@
 		const struct var_expand_func_table *func_table,
 		const void *key_start, size_t key_len, void *context)
 {
-        const struct var_expand_table *t;
+	const struct var_expand_table *t;
 	const char *error, *key, *value = NULL;
 
 	if (table != NULL) {
@@ -428,9 +428,9 @@
 			   const struct var_expand_func_table *func_table,
 			   void *context)
 {
-        const struct var_expand_modifier *m;
+	const struct var_expand_modifier *m;
 	const char *var;
-        struct var_expand_context ctx;
+	struct var_expand_context ctx;
 	const char *(*modifier[MAX_MODIFIER_COUNT])
 		(const char *, struct var_expand_context *);
 	const char *end;
@@ -487,7 +487,7 @@
 				ctx.width = sign * ctx.width;
 			}
 
-                        modifier_count = 0;
+			modifier_count = 0;
 			while (modifier_count < MAX_MODIFIER_COUNT) {
 				modifier[modifier_count] = NULL;
 				for (m = modifiers; m->key != '\0'; m++) {