From patchwork Mon Apr 23 08:32:55 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Lindner X-Patchwork-Id: 1782 Return-Path: Received: from nm7-vm0.bullet.mail.ukl.yahoo.com (nm7-vm0.bullet.mail.ukl.yahoo.com [217.146.183.236]) by open-mesh.org (Postfix) with SMTP id 8DB3B600798 for ; Mon, 23 Apr 2012 10:33:09 +0200 (CEST) Authentication-Results: open-mesh.org; dkim=pass (1024-bit key) header.i=@yahoo.de; dkim-adsp=none Received: from [217.146.183.208] by nm7.bullet.mail.ukl.yahoo.com with NNFMP; 23 Apr 2012 08:33:09 -0000 Received: from [217.146.183.29] by tm1.bullet.mail.ukl.yahoo.com with NNFMP; 23 Apr 2012 08:33:08 -0000 Received: from [127.0.0.1] by smtp157.mail.ukl.yahoo.com with NNFMP; 23 Apr 2012 08:33:08 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1335169988; bh=cwcz2XMQpVd5TPUlWpdIUMAqsYxcJKdC5bUJpuJqRc0=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:To:Cc:Subject:Date:Message-Id:X-Mailer; b=xE9s7WUXunuk3WH2oXxEygBtxWuCFl9fgEpQyXDm0aQJuOCcg1eDKxRWcPD8kUWCULfurAaS/Mkm87yltZ3uGN84tVW0l/UgGz2kuRP4P3ror4CJCaiOFtKnN0y2RBRPWicjfe1i8WznNWICS/avnLzFjPfgbftUqG30HyXVTUY= X-Yahoo-Newman-Id: 976432.51907.bm@smtp157.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: OSqh_14VM1k9tVCgqVsipxMZkQ3tRTv8xr1NyT45eNcYhsM H.VCocw40Dytkl_FrU4izAjRuva9QHN8JvbDgbkWRf0cXWu..ynerEOwpIZ. f_kBGmkiSl.hc.Tk.N3SrUtR9oUOrcodObDqkvMEwMyhqKgk1JCFNCK4wgsE 61LBw7A64aLc5PjLVejV1AdeZ8_yz1dxjE69E9_a75GDA6r0u55c2is22ksl FLGMKEWgcm4rrr1.chYr3js8Lt3wjHhp9jfMrY_fhdRIMqCJK6ni4rPaQbQF daVW1GidiG66BDHEk1WEGFv0YyQ5yyiIvsRdbQK9QZ6nihAka98GmCMRe3hB PuunWjNidG1UZL.lIT.xl.kcNHeihItIyDj.bhRm564wFHMG.Jxb9wIFi9wF 9Ew-- X-Yahoo-SMTP: tW.h3tiswBBMXO2coYcbPigGD5Lt6zY_.Zc- Received: from localhost (lindner_marek@210.177.7.38 with plain) by smtp157.mail.ukl.yahoo.com with SMTP; 23 Apr 2012 01:33:07 -0700 PDT From: Marek Lindner To: b.a.t.m.a.n@lists.open-mesh.org Date: Mon, 23 Apr 2012 16:32:55 +0800 Message-Id: <1335169975-6485-1-git-send-email-lindner_marek@yahoo.de> X-Mailer: git-send-email 1.7.9.1 Cc: Marek Lindner Subject: [B.A.T.M.A.N.] [PATCH] batman-adv: return added entries instead of number of possibly added entries X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.13 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: Mon, 23 Apr 2012 08:33:09 -0000 Signed-off-by: Marek Lindner Acked-by: Antonio Quartulli --- translation-table.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/translation-table.c b/translation-table.c index f8f207a..88c62f1 100644 --- a/translation-table.c +++ b/translation-table.c @@ -319,7 +319,7 @@ int tt_changes_fill_buffer(struct bat_priv *bat_priv, } spin_unlock_bh(&bat_priv->tt_buff_lock); - return tot_changes; + return count; } int tt_local_seq_print_text(struct seq_file *seq, void *offset)