Message ID | 20200415201114.876-3-sbabic@denx.de |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBCXPLOXJ6IKRB26U3X2AKGQEU3NHEJI@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2607:f8b0:4864:20::63c; helo=mail-pl1-x63c.google.com; envelope-from=swupdate+bncbcxploxj6ikrb26u3x2akgqeu3nheji@googlegroups.com; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20161025 header.b=GJqGDWAc; dkim-atps=neutral Received: from mail-pl1-x63c.google.com (mail-pl1-x63c.google.com [IPv6:2607:f8b0:4864:20::63c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 492YQl2BXFz9sSd for <incoming@patchwork.ozlabs.org>; Thu, 16 Apr 2020 06:11:26 +1000 (AEST) Received: by mail-pl1-x63c.google.com with SMTP id e18sf1060311pld.3 for <incoming@patchwork.ozlabs.org>; Wed, 15 Apr 2020 13:11:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1586981484; cv=pass; d=google.com; s=arc-20160816; b=WyUGXysXh2feQ0zj7nfS9336o9kuTm+fdMPLwECHIY3ejqdJpvDAR9xdb7sqkulf08 klpSLcRQNNWBVMU8FrPh+sce0vIPA49dflDT/+3rRgr9lvxPNglMlcsp/bbIE+YBA+m6 xP0b2+Ozq5j1jsVmLonkBUV6sH9D+Yux9zNcnBT4Djb5I1HbghDpV7sxyYRrGvwADk4q DVPf1lv82xqmYq+A8b+tL2k4uhnSbXD0hXf+cIFE4w2L8mBk/S7oulEWmfBF7RGQkdDw z4yRzDDAH32mQRrpakkOKje9K6tja7dxFCf1srBwu+RiHlZP7RZGgZLs3hCGUZNncIp/ gqNw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=jwE8hkYonAoXduL9/ws4lNw6HdXdRr8W0W4MuE5O8uY=; b=u0yPO94wCjFltXl0iger4SeL5q0k4sFNme4M8zk2LOH+NeHvfGkr3iLV0hlhoIL3ir F1Mwat8qvCeHqK4k5plRkHJOr5qXNAD6+xFudBNXEAu/wrbx8l1s7vCq8zwaoaKbQY28 6fJJerEuTC01/3SIMKBVspaY/PT6HjxEcQRwqIQrcnAPJJMnl9CBTdF5o6JbyiWLyP9f kJ8WpbjhrwjN8TT6oivvwu2+Qljc+tYXR9QOxcvJWlvYM/EY2qvinsy22cnn4sg0Gzip S0BU907bB8ShrjIwfXu8pPk9QJw2y2qeWQgJwvmYeLhT4+57hUjJavrM8z1dTurUwYmB bKNQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=jwE8hkYonAoXduL9/ws4lNw6HdXdRr8W0W4MuE5O8uY=; b=GJqGDWAcJX0G9LkOrB0AJjO281BkZVuDvflsphM6oZYN/w4FYx//bfN7lxYBafrnTN n9xv1nVz4rjdUjqWAKF4urnbegEfXvIo/Bs/Od0QuES/pHaqB5U5APkrKmq2TCAJ25Se 806qo2UHfbgMx+KAngNEa59QeSKJRkpOhIVH3e/jCjXwT6RKFS2uJmETT8/sAp2c05v/ pJMahLM03mO9E3+hsx7dRDJt20nd4cbzPRABT+Pru2T6hEPzoWTEeazbb09YcFhLgFVU +EU/ncbD8nrE0pRUd60L3e9/VHXGRcCXkTWqtUhYF+6CqRr2bjmuukEX4QCR9km8jVG+ kZvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=jwE8hkYonAoXduL9/ws4lNw6HdXdRr8W0W4MuE5O8uY=; b=cZ3dSW4vtCWjr10KDjqAHPkrx1VjD62ny6EXYZYZOigKMd/K1/FGs4jCNn8kfiCGDD HxSdZOexqRsqbo2NaqRkZX52O+O7PSHn/DKiHTFPYI05RrxFRUSIsYVEABjr/UEGoTJR +M28DKWiLU4Href6mC0b8/siK511mFF0i1nnNorQ0DQbzTat7J2N0cV6rEaxysgK21IQ zRmVYMAcrAOC369CSVW86JzRmE6PGYYkEpLfdH7vztPHGX0PwgQw76Eo2JeenoM+IeWF 37SzNjpf6dvKYXfZut/Qpg2LQG2R/UumZAAMBrpmEhOARljBMGP5jSLrJkDJ2aBU118e KwrQ== Sender: swupdate@googlegroups.com X-Gm-Message-State: AGi0PuYfmPzUlGdzRfhsB2mc4+8NtN7oEmDOFssX8aXDwixpKyDHlBsK JVfiJdKbRRWCk/d49+bddoA= X-Google-Smtp-Source: APiQypISkGOLCCq8HsKqNZcVeheQ7cyz4gYO3EAhbTD+QNUV9O5nEOBKr3+cGQS4o4hKgERpA+w42w== X-Received: by 2002:a63:4b17:: with SMTP id y23mr9072513pga.403.1586981484128; Wed, 15 Apr 2020 13:11:24 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a63:a50f:: with SMTP id n15ls2545231pgf.5.gmail; Wed, 15 Apr 2020 13:11:23 -0700 (PDT) X-Received: by 2002:a5d:658e:: with SMTP id q14mr32024320wru.92.1586981483233; Wed, 15 Apr 2020 13:11:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586981483; cv=none; d=google.com; s=arc-20160816; b=seMICVhZR2oyBfS93CiJkCNF4y20x+REU78iXQdNuem1YjdTzRg8h6u0+NuEYXbvSN xRrpyyOa+t5gwfpKmXZt7O2OKz0ehb0SamxxTFf2EnGDEoS0Z7UxodW4fjXhJwyEdJEA krVmGYuD6NcI0IYYv5iSvYGtpFXwBcnDHD1GSyfBmX1khu5UdVxUDQpXds40XvcGvlJH QvwqK+gfy8/s0a7FZ3odh0pUTuLf0UGtaaL6pEW0uU9pRbSgYWd1qxOzBBAZ3ENa/qnJ CXTarq20Zz6eMmvPsPoIGpy7cRABp9Z/IZwOuGANE0I7fd1qJbs/gZIRclBqw2erkKF1 5lzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=qJc++cO1rg5IBKuipyUsm5mpMU3kAQmShTJvNI0TLbU=; b=FId95MObcJDKWogmwfOllqBdyBaZNZCek1SzbC2+Xm9XwLGrcoZ2rYBIpfmRiVHzio 29GT5ghnyuCmaSTlBP2jeJnHefqPvjpyV8+1YEsNDLoB4DRtRnXx0hhZqo5u/jT7LIsy MU6craSg0sP9BdR1Wzf2jLHtYbHNQRUAp3oOp66XAAZgONjWiaeC1bKpNU/+viEuMzD9 lNJEUfGUOjkIqVRJeOB6k96aBKtl9PtP38K5M/L/rpYy9GdsOh/RUgM4oCXVAfXa+3No 3V8UdI4Cl8GbQvRPm4XurrlZ6tl3dB4kMxjcbsLwIkDiQ47B7zotxQRJ/mDst8rl0YBl aOTw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Received: from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.9]) by gmr-mx.google.com with ESMTPS id g70si63770wmg.1.2020.04.15.13.11.23 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Apr 2020 13:11:23 -0700 (PDT) Received-SPF: neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) client-ip=212.18.0.9; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 492YQg0VBdz1qrM1; Wed, 15 Apr 2020 22:11:23 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 492YQg0JKQz1qqkT; Wed, 15 Apr 2020 22:11:23 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id jkGHvD1TsH9y; Wed, 15 Apr 2020 22:11:22 +0200 (CEST) Received: from babic.homelinux.org (host-88-217-136-221.customer.m-online.net [88.217.136.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 15 Apr 2020 22:11:22 +0200 (CEST) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id 0104F45403CF; Wed, 15 Apr 2020 22:11:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([IPv6:::1]) by localhost (mail.babic.homelinux.org [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id HsZp9e279TO3; Wed, 15 Apr 2020 22:11:18 +0200 (CEST) Received: from paperino.fritz.box (paperino.fritz.box [192.168.178.38]) by babic.homelinux.org (Postfix) with ESMTP id B1BA245407B2; Wed, 15 Apr 2020 22:11:17 +0200 (CEST) From: Stefano Babic <sbabic@denx.de> To: swupdate@googlegroups.com Cc: Stefano Babic <sbabic@denx.de> Subject: [swupdate] [PATCH] Fix formatting in stream_interface Date: Wed, 15 Apr 2020 22:11:14 +0200 Message-Id: <20200415201114.876-3-sbabic@denx.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200415201114.876-1-sbabic@denx.de> References: <20200415201114.876-1-sbabic@denx.de> MIME-Version: 1.0 X-Original-Sender: sbabic@denx.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
Fix formatting in stream_interface
|
expand
|
diff --git a/core/stream_interface.c b/core/stream_interface.c index 5a1f423..f9a71b5 100644 --- a/core/stream_interface.c +++ b/core/stream_interface.c @@ -174,11 +174,12 @@ static int extract_files(int fd, struct swupdate_cfg *software) return -1; } if (strcmp("TRAILER!!!", fdh.filename) == 0) { - /* - * Keep reading the cpio padding, if any, up to 512 bytes from - * the socket until the client stops writing - */ - extract_padding(fd, &offset); + /* + * Keep reading the cpio padding, if any, up + * to 512 bytes from the socket until the + * client stops writing + */ + extract_padding(fd, &offset); status = STREAM_END; break; }
Signed-off-by: Stefano Babic <sbabic@denx.de> --- core/stream_interface.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)