From 6c6e75a71d8d976eaef8d7e16c31f79a3c36e551 Mon Sep 17 00:00:00 2001 From: Laurent MONIN Date: Fri, 14 Sep 2007 15:14:34 +0200 Subject: [PATCH] Trim trailing whitespaces. --- contrib/proxy/gen.c | 2 +- src/config/conf.c | 2 +- src/scripting/smjs/cache_object.c | 2 +- src/terminal/draw.h | 2 +- src/util/profile.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/contrib/proxy/gen.c b/contrib/proxy/gen.c index 59d1b2b1..6e7807ab 100644 --- a/contrib/proxy/gen.c +++ b/contrib/proxy/gen.c @@ -95,7 +95,7 @@ parse(void) space = strchr(current, ' '); if (!space) return; - + host = find(space + 1, "Host: "); if (!host) return; diff --git a/src/config/conf.c b/src/config/conf.c index 4c9f3fa1..c08c04dd 100644 --- a/src/config/conf.c +++ b/src/config/conf.c @@ -142,7 +142,7 @@ parse_set_common(struct option *opt_tree, unsigned char **file, int *line, if (want_domain && *domain_name) { struct option *domain_tree; - + domain_tree = get_domain_tree(domain_name); if (!domain_tree) { mem_free(domain_name); diff --git a/src/scripting/smjs/cache_object.c b/src/scripting/smjs/cache_object.c index 393f664a..8d2a44d9 100644 --- a/src/scripting/smjs/cache_object.c +++ b/src/scripting/smjs/cache_object.c @@ -49,7 +49,7 @@ cache_entry_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp) if (!JS_InstanceOf(ctx, obj, (JSClass *) &cache_entry_class, NULL)) return JS_FALSE; - cached = JS_GetInstancePrivate(ctx, obj, + cached = JS_GetInstancePrivate(ctx, obj, (JSClass *) &cache_entry_class, NULL); if (!cache_entry_is_valid(cached)) return JS_FALSE; diff --git a/src/terminal/draw.h b/src/terminal/draw.h index 91e4a03a..6dcd31af 100644 --- a/src/terminal/draw.h +++ b/src/terminal/draw.h @@ -54,7 +54,7 @@ struct screen_char { unsigned char color[SCREEN_COLOR_SIZE]; }; -/** @relates screen_char */ +/** @relates screen_char */ #define copy_screen_chars(to, from, amount) \ do { memcpy(to, from, (amount) * sizeof(struct screen_char)); } while (0) diff --git a/src/util/profile.h b/src/util/profile.h index 6568c6e2..4570e9b0 100644 --- a/src/util/profile.h +++ b/src/util/profile.h @@ -1,4 +1,4 @@ -/** Process' CPU time utilities +/** Process' CPU time utilities * @file*/ #ifndef EL__UTIL_PROFILE_H