From patchwork Sat Oct 23 13:46:02 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 503 Return-Path: Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by open-mesh.org (Postfix) with SMTP id 123931543BC for ; Sat, 23 Oct 2010 15:44:56 +0200 (CEST) Received: (qmail invoked by alias); 23 Oct 2010 13:44:54 -0000 Received: from i59F6BB7B.versanet.de (EHLO sven-desktop.lazhur.ath.cx) [89.246.187.123] by mail.gmx.net (mp006) with SMTP; 23 Oct 2010 15:44:54 +0200 X-Authenticated: #15668376 X-Provags-ID: V01U2FsdGVkX1/UVFgNLYXUxN61d6mECv9YcSds5QZ8+iOJpFe5gt Rr9ZgTRR/Xtdoa From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Sat, 23 Oct 2010 15:46:02 +0200 Message-Id: <1287841562-19205-1-git-send-email-sven.eckelmann@gmx.de> X-Mailer: git-send-email 1.7.2.3 X-Y-GMX-Trusted: 0 Subject: [B.A.T.M.A.N.] [PATCH] batman-adv: Add missing space in originator.c X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Oct 2010 13:44:56 -0000 Signed-off-by: Sven Eckelmann --- batman-adv/originator.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/batman-adv/originator.c b/batman-adv/originator.c index afac4eb..15bf037 100644 --- a/batman-adv/originator.c +++ b/batman-adv/originator.c @@ -177,7 +177,7 @@ struct orig_node *get_orig_node(struct bat_priv *bat_priv, uint8_t *addr) goto free_bcast_own_sum; if (bat_priv->orig_hash->elements * 4 > bat_priv->orig_hash->size) { - swaphash = hash_resize(bat_priv->orig_hash,choose_orig, + swaphash = hash_resize(bat_priv->orig_hash, choose_orig, bat_priv->orig_hash->size * 2); if (!swaphash)