From patchwork Sat Mar 9 15:11:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Babic X-Patchwork-Id: 1909981 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=TSS6yUtq; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::43d; helo=mail-wr1-x43d.google.com; envelope-from=swupdate+bncbaabbrxywgxqmgqebdhy5ly@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-wr1-x43d.google.com (mail-wr1-x43d.google.com [IPv6:2a00:1450:4864:20::43d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TsRNF2TcSz23qt for ; Sun, 10 Mar 2024 02:12:12 +1100 (AEDT) Received: by mail-wr1-x43d.google.com with SMTP id ffacd0b85a97d-33e705fb2absf1024839f8f.3 for ; Sat, 09 Mar 2024 07:12:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709997128; cv=pass; d=google.com; s=arc-20160816; b=0C/0aQlBIhfgelQrQrPFRJlt3hq0XDJ/iVMKadmlvZphSBGxbVf9+Q+096I4P3wYYo u0V/Up0m/w6qngrdLYiMRzWvEMsi+h409yoIMxnNtS2MquoDGqmBvEesQebDx0mFi9DJ yc9RPBvVLzWPu6+LMB4w0WyEmltlMBb+/bu0Bd+lnLo/bq5S7o8pJH5vw/PQYFVRMwYP 2VO+mEiHePLj2DsDiJHbeBcpo9oX2Pmgi6+Ahg/pp6hhuoaKVqz2IdrzP1+998M7AqYR anVXZdI++L0aV6LgpDYK9g91lq4EBYQtl3Y1PHbAIy6mPEKSMYfXZ7g+X/79VZwj1A18 3oZw== 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:ui-outboundreport:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:sender :dkim-signature; bh=VK2T5h+0NQwxmVXXHHtHmDsKbfngSl0q3bW4NK0C/NU=; fh=PJzymT4/1yU4FSc0+AizGJgxdHtkL19N5yWOl1qXNXg=; b=QHkho1PLwpmQUr2gUjxYu9neHxmVvSgJH5isIY7PjQejff8Y8xwpnE3vEeJ+t42k/C svuCq4OXs14hgkxVv3XPMvehas+XAI8OX8PncgFQDIcXNMB2IxndhSpZPkLvPhXQKzMX 5qPPYfqueKiwzHGqveUmSG8AjZ4fNVHGWa/z85tg3pQ0qsL0z2zMhK65L5KucE0KZ8E/ Zq+N+yUTAe6jlqtiZS48b2WEAB0wzEznpnzcrCmKIDCDZcwWY2J0jfkQDEeb6UQG6aR6 YHiunzGTMMBhq3T9IdpjbKpBYYFuLrV1AGUtbt0LkEgWTyn92xO4FkphHQUsst6v444u 6JLg==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=lwhPHdya; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 217.72.192.74 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1709997128; x=1710601928; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:ui-outboundreport:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:sender:from:to:cc :subject:date:message-id:reply-to; bh=VK2T5h+0NQwxmVXXHHtHmDsKbfngSl0q3bW4NK0C/NU=; b=TSS6yUtqfFxAZ/3R5haCN/AxbCFyq3wsaPWiwHbus996rNTkpK4itr63s/HEefFsiB 6D/P3mimHS85ftmIPbaN/fjj1R7XNPIe9lv6X5O7VyQf/GRA54Ep+m24u4k5T/pRj9SF bO83PMcCyosCFk7gnJKVwb/zo3TBaJUyC9ehRtKpzuqyQO2GhQvonZZYIaXHWrfSmtOb sgw90UOzM9FUQqGWKxUTxycIFS4X/MQM9aKT8Ei7xcojK5Jjg244ztEjQ5IlS2emOM5V 8zda0sDMVxyjwDUQx1Y/JtZv4T9bP7lYtlQ2OZ2XHHJj5b0WiQR7eRIcgvFOto6sc8KF d7Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709997128; x=1710601928; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender :ui-outboundreport:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=VK2T5h+0NQwxmVXXHHtHmDsKbfngSl0q3bW4NK0C/NU=; b=OwAmDqfmvxg4BqF/gyNg+Rw4Lge4FYPwT1krL31RtFIrOHBzU1rwKvnu/pUziPV/dz xd6wNK+n9at3L279grJaxEo1bTtSnBk84YxpWDyHeDipIIBetfuhnQQg87Qg0oQnBTSm oNEls1aE6W1TSYs1whR4Op2SND0Db6RqvvQTgtDeUjNt6bXKni3sfnqoul28lf3U5caq JFGya6iHepe5XK4iMAQge54tSygk60T5kj5QtXn2mQjooglNqoaxEG8H/WMZCYWXgMGP xnL18Ubq9dSTYG/1+CILnySl3HsabmRvZsNnvrUsSbYhigh6GRoGSrQ0d50t661pK95x rC0g== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCVrY7iMj1BFfLndeY5EK+7K5a9WgSl/4rARKyD0cEHd33dkhPGt6XuV9qXtCZDAjS8dTQVsW/Hu2BP92LwmCiW7WSw7jzPVjy+DkRhVKg== X-Gm-Message-State: AOJu0YxuAXhab9x/1tgjN+XT9YTR+/GTQGXSxoHyp8MdJaOSbzt+4I0L 3rhVCx+JhynWHP1rP+7JhlqyUMVMnaTK9+ThwnJdzlyGQb0VQraG X-Google-Smtp-Source: AGHT+IFW3l2AR5MjrMIYu5BDGvfx3M6f1VJKQaUsXBBH4P34K0SVQ8cGIlWzsL7IPKS6ceUt6vyUpQ== X-Received: by 2002:adf:f00a:0:b0:33e:7b70:a114 with SMTP id j10-20020adff00a000000b0033e7b70a114mr1537288wro.33.1709997127518; Sat, 09 Mar 2024 07:12:07 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:600c:1c04:b0:413:1986:5865 with SMTP id j4-20020a05600c1c0400b0041319865865ls680888wms.1.-pod-prod-05-eu; Sat, 09 Mar 2024 07:12:05 -0800 (PST) X-Received: by 2002:a05:600c:3149:b0:413:19ac:2a06 with SMTP id h9-20020a05600c314900b0041319ac2a06mr1533420wmo.28.1709997125481; Sat, 09 Mar 2024 07:12:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709997125; cv=none; d=google.com; s=arc-20160816; b=Z6dWX9oJ/VVdzT9vj2IZAG3D+T4qerBF4RZr6Hnu6alkWorJppTGmvKdSmF2b+/7Yb cXjPHtPu3VPCFbAaflpZmjbVr5PSH60BpDHxioev/ZmXY2NzV8u+b2nwNwYRd+FxnpYv 0rp447F94g+ecRhlysrLXnsdionYTWs96FlMdkt8CT1lcY67beJG7jyTlLTWDCN2Jgzr Krxpp2DCHPr2icwwr9Kl7YToLvUawmxoEmqy2SfH9MGAhhgLWQjB0D3yJfS6GQXcyvdS y2ii34R6OsvTqUqo/2NRt4OqOPWfSAi4+E4k2thwNoyxgbW5hd5+FyIjhK1I+exIxgP/ rPzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=9U8zUT+koIf0MRDPrbIGoe0V+7WrRWT21hNdGMuJ7oc=; fh=TiEWcqMcKpHk5s7uErzpntoONrNfOXwKpI5P8bIlggk=; b=S+TtAPpERIgmBME2FWrF5QKCPN3lTuRFpgOooj9SbIC1QiORuezSjL//SH+B26CH/2 4YRDnWkoxryEzx+STn5RordEMjgyEMT45/4Inkrp0zbcW3UcSxGLQNyp3/edckvGIGlc sl7I6DW879mLFgPMQ9eO0gxB8Oao7bHh31ieh9NsRax39HyCkAN5vcCVHvVJlMtrKcwb Sf/ZdkeQWKHrh+Kbsmf1ao64fMGhce0Gd9RLxgjvzwEDP5tUrebLw73L22YYfPIHcbeG o0gp71eM/Y1MFU5gqYwie5nR/kgea5sWrYXpxptpKWSIs37/JJKIcseVMV3qkMas2xyE Dc2A==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=lwhPHdya; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 217.72.192.74 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org Received: from mout.kundenserver.de (mout.kundenserver.de. [217.72.192.74]) by gmr-mx.google.com with ESMTPS id iv7-20020a05600c548700b004131654decasi213286wmb.0.2024.03.09.07.12.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Mar 2024 07:12:05 -0800 (PST) Received-SPF: pass (google.com: domain of stefano.babic@swupdate.org designates 217.72.192.74 as permitted sender) client-ip=217.72.192.74; X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6 Received: from paperino.fritz.box ([88.217.136.221]) by mrelayeu.kundenserver.de (mreue109 [213.165.67.113]) with ESMTPSA (Nemesis) id 1MVNEv-1rIC9b3b7v-00SROI; Sat, 09 Mar 2024 16:12:04 +0100 From: Stefano Babic To: swupdate@googlegroups.com Cc: Stefano Babic Subject: [swupdate] [PATCH 2/5] swuforwarder: fix return error Date: Sat, 9 Mar 2024 16:11:56 +0100 Message-Id: <20240309151159.8426-3-stefano.babic@swupdate.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240309151159.8426-1-stefano.babic@swupdate.org> References: <20240309151159.8426-1-stefano.babic@swupdate.org> MIME-Version: 1.0 X-Provags-ID: V03:K1:jVlnigU/M1wzlavaOQv8VQgFeEmKcw0otOrHlGxBDy/dFPJRHE4 sfDq97jNWyh7eAtOOnzqv8WvLX1Z+pvJO/UIc2NOkh5qiZnQ007E/S61eg2ZcchzvC9wC63 9C6SPdjA1bpT0L/u0wgj6QsGgJzoZJHy7bI+oFl4Ee+MHpN1oPIE/7X0mlKMpzX3i54Zl4q uVyM/VxIUE0SB+pSw8/MQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:j85iP5sIUZs=;fUsc1GhQMwLNKWvqUIw/sKpdzL0 kqi6TExMIwaqJydUqZwbBLnj2Dsph+W2fYcGYfxDEf+jbCEfiaSrlxdtdIekxtUB/rGFoBrJ5 zRf71O7HlOaogFQobZVwGHzK4WDQ90ewZHq4GBHCFqILOP7FBcZsJH5Db5+I2qF0GjcLfn4Du 0Ccsa0xYeUN1czKkYWsgfnnmCxI8jXUG9s+6kQSxIP7kWAvtsQzGkt1gc3y6K3Jdg1KyElcJl XzQEqBngfV8oqqi32O+ebuq7Qj0siDq3SCDXVHpJ/p+gxf+mLK1s9Iq+KMqxR2EIGim/hYDcB 51B2+s3yo9cx1xE6Gix9e3tXmtACbMByb3ViX9g0BuI3SXcM0aLj6gPpTGGNWJJfD+HL5NfXV hc8vaU+nUYQ6xxMMWlO0qVO7XF5OxSxmzbiVtbtwv7hOhKQSa0VjdK4Lf7ReAKVxQaruI7ikL 9vLtkNoFSw2ISNMEORcakPRARuCA1OzljpE/OTQNMXuT6IZd1Yf+IPVw+Aj7C2a3O4K0qInIK V9/eSKTYgnF5FWhc/BqOeiOT8USSzSF3raMEdH1jYgKQsuqN/cfEsb/OK7fr3EI3Ps5SeDeHZ nidtZV3iFmzbdw/OiLEdBwIKdP55z/sbWGFV4vGRxCffIPRz7DBo1BVhu5Od3xA7PEIQtAKKn apSHf29XxEfgJhcP03bxdA0NGBbnUDRKOQbXyeIAYUa+ddLyPxYittZ6DFZIG9RGJz2/5gxIO Ja3Cu7g9d+8ExbnN3YV+F4EeHBwThcEAluXwnYc5K3U+RrLC3HOrqc= X-Original-Sender: stefano.babic@swupdate.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=lwhPHdya; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 217.72.192.74 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Signed-off-by: Stefano Babic --- handlers/swuforward-ws.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.34.1 diff --git a/handlers/swuforward-ws.c b/handlers/swuforward-ws.c index 3b835dbd..0c4d6fff 100644 --- a/handlers/swuforward-ws.c +++ b/handlers/swuforward-ws.c @@ -143,7 +143,7 @@ int swuforward_ws_connect(struct curlconn *conn) { if (!ws->context) { free(ws); ERROR("lws init failed"); - return EFAULT; + return -EFAULT; } memset(&i, 0, sizeof i);