Message ID | 20240612144010.470339-23-Michael.Glembotzki@iris-sensing.com |
---|---|
State | Changes Requested |
Headers | show
Return-Path: <swupdate+bncBDY5JUXLVIEBB2HGU2ZQMGQETBDM6EI@googlegroups.com> 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=e236r9w1; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=aO3ttL6a; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::23d; helo=mail-lj1-x23d.google.com; envelope-from=swupdate+bncbdy5juxlviebb2hgu2zqmgqetbdm6ei@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-lj1-x23d.google.com (mail-lj1-x23d.google.com [IPv6:2a00:1450:4864:20::23d]) (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 4VzpB428W3z20KL for <incoming@patchwork.ozlabs.org>; Thu, 13 Jun 2024 00:40:44 +1000 (AEST) Received: by mail-lj1-x23d.google.com with SMTP id 38308e7fff4ca-2ec01fa1a72sf228051fa.2 for <incoming@patchwork.ozlabs.org>; Wed, 12 Jun 2024 07:40:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718203241; cv=pass; d=google.com; s=arc-20160816; b=YdYvh18R7Yas+nCdAoy+9syy0jALOge8fUdUjr0+bPZOJdJcHm4+pPE3SEKrwgKRRX FC0xVhVDXf7CiaId4J2XFbWosPvxlNVCUYJVv+CvMlqVSBcLwQ2/8Ywdjw79wkGSSUBF /lm1ftF9Cvinh6QNYAQqlYuU98wASZGjOuyQpb1xIEjcKHJmIwykut0aIVMPtbWGoTmz 0hUZLp2oi20aNIdQ5BboS8W9ADkT1xk13Jw7bzn/lERfSO4Jo6jlLdBwOFdQKVdbjw0Y XTtQbrQY/UWLRXJDsswPl+e4gXb9AbbiU4Y8U7uXI59j3pNc9C6MLTVIeignptABY94s lrHg== 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 :dkim-signature; bh=VQN/mygu4hc+LAU4i4b87iKN/QqbcJFBgye6n/+zBus=; fh=GU7ENQ/yWoL5DwpP+wXZ4iXPEBnTDPDdmnF7tiF33M4=; b=CihJR+JoeB853lQS3nj0dxHz2vR6tEo1L/h8wRaqiJGbR9bUjYth7bwvqCsD5TE7X1 0S5e6W2XV2GaW8lt/brkpCVqo55eZGozz/mahfCE8UzdeOqSDtrAmZg5Ra0DWcd3bPad sPd1RV8l+NEP1vPBo7H66rRbvJHeljYWwpaB7bHYOT2SKmYYiM1GPMLiXZZ1qMEj2103 A92i19jKfNTy6SxZZ96Lhlz9uQUZlBQi2y5qM9kZGq74FSwDX9E6b+O23igzcZCF/MHh H1bqv4Xv/71hzrtK00adxgv0V06LSBpZ39Y3F3dYgE6qCbL5ffrM5HRrOBAVzonEsoSj 8JYw==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XAIGBqgi; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::52c as permitted sender) smtp.mailfrom=m.glembo@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1718203241; x=1718808041; 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:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=VQN/mygu4hc+LAU4i4b87iKN/QqbcJFBgye6n/+zBus=; b=e236r9w1yvCPpSRleGNJp/Dkbm+ExKZYhTzX4Fzcn0vxvAKmfDGzbISk/M2m2RF01P 4kAbmi46fqD0rZAScTRxU65LXm3WZ6fjK/GeX9+jNkkOFffnwTW3zp+4m+V05VFkTaCc 4W+XowE3jL07ZxS8K2+zFtjnvqlRL5ICtBij/k14faTHnOH6mrrzBdkVwuWRffV1tnkG pXQA+rntX9f/aHu7sVwABfye2BjksWUmiynbzPHlyX4LgezFAY2vmB9I825YH1ZDu9BJ T3DXY5vW/xDrIH9qmKOw0NAZfeShoJkbzmB8q7R1+ha355RNzWsoJHfKdc0ttnew2o17 +EVg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718203241; x=1718808041; 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:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=VQN/mygu4hc+LAU4i4b87iKN/QqbcJFBgye6n/+zBus=; b=aO3ttL6axnCrKJnV0932Pq27s8BbAEQVtdSGN1RQW+IQmS8Jju33V2AUo+ugMRbIv+ iVDzvj5pdovGRqtLhFaMl8aEt9Wd1iwNgQpRnFcc+5A2KRNXlIWJRa8yYy5VGiaII0oD 2oUQxomKMD8MwduO+03yqper9VkTGfZCquZvvaUjKPCwQ8MkW3y4VzSEESxn7ftsqdLS Szl6WYAP4BZFJB2JshWBvEUUcI18mebyMa7FEfn0Dijl5zMQfnx00EM8GCPkQObfTJGT wIkUAeLEQketJbtZ46NKYp+EAsJ9TbaCX6eg/qFNdR6b5goDphlROGNRUzFiQsudm91M cBUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718203241; x=1718808041; 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: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=VQN/mygu4hc+LAU4i4b87iKN/QqbcJFBgye6n/+zBus=; b=qBwkUoRbEgPGblNmPdzD0SzQKwVm0nzywpiARYt8YTp15iiol7nXbLZ/Az0UWqUbn7 Vji5CFuZZy9OabLB49qltmEaitckvWEjQHcVfnayv1e7eSFJRe4/UZYiVNpULBrNK5mu 5Fop4OwcIF3/lS3ud9Kwx+gehh8MiUWzlmLeOMuF5BsFRrVmbBP9gZ4cUeXHXeN+zNV9 WroadzuNsVog+nij5pZMHbsn2aq2osWmaaBx0MJQ2urnaPUJClcNVsPXBmabm5IhpmNB Fn1VPMDB2Q+GQzA2wsgUIYRtBxiXWwzMsrNbgu3CxuyBOcwVO+SquMa3kSsKTj6G5+mM sFmQ== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUkHrIVz4zLMGWmKh7AB6wPKqhZVbLRZHnuwLW1IlM44zIu5aGkSrW1wJkF0AoRw4318SCc8mzeLAemvERr7m4W9dtyELn3yMfdyX0jrg== X-Gm-Message-State: AOJu0YwomutRia2qFL8asyuX23LlmXHYdlopSaBLvavN/5bgvMBFPjNJ SVuUXpzCG2zKaunQkw35QsRj1stkWV0WmMNKBkkuOjU5f9R5wm7i X-Google-Smtp-Source: AGHT+IHaHaZjNmbBeZM5+9yAej2nWMh8VRf0GwRF2wHj9VpaBpO5/jDd0vswE5Xb780xwC+eVtywmA== X-Received: by 2002:a2e:a307:0:b0:2ec:1a8:b237 with SMTP id 38308e7fff4ca-2ec01a8b27dmr1712671fa.7.1718203240893; Wed, 12 Jun 2024 07:40:40 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a2e:b5bc:0:b0:2ea:f437:4e01 with SMTP id 38308e7fff4ca-2ebf09a7717ls12247381fa.0.-pod-prod-07-eu; Wed, 12 Jun 2024 07:40:38 -0700 (PDT) X-Received: by 2002:ac2:443a:0:b0:52c:5224:1bf5 with SMTP id 2adb3069b0e04-52c9a3dfcdamr1171874e87.33.1718203237875; Wed, 12 Jun 2024 07:40:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1718203237; cv=none; d=google.com; s=arc-20160816; b=jHbQNWhJYx1/nwQkdDfV2nasg713mGMsoxaHnjEppTTD3aZgPp9sys0w3yhE916Gne 2hdhLU0BjpCSagX2Ix5OhKgbr0Y4yuBJ2w+4+376fC9YRFyoYpSRUXVRIA3+NUVgneqX Mmf3RzoCf+iWoenA0ugpvKFl0+GytR5qCADoyO6oN7i+suKFUHuKupZEN890veK3TijY 7ySb2ft3iBGFYYOabzn4iE0M9xDV+KoOyHoopMs0T5PBwJX7PmAMMp0J8gUhD3ALgOWv 5OjIw+fJyADQ4j4MxoA9xLSfOCImzOdLGKKbJgFWTxTYy59rukjCAKc81LZYBb97F0q/ BbxQ== 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:dkim-signature; bh=/KrA/zLYGDKSBXDaI7eBcEo2VfRzRii0IJJZ7q5cCRg=; fh=zydHuzCQWrku2OPQyZfraJZFcOpEXLQ/YBcu3QNiBd0=; b=FoYeSyitQBp9pq/XC3efJfIlEkQ3+5oAEnM1pZ1yntazY8hM/XuFoeUUTMELUtwQP9 uEz+/Fhila1UjKmbBuIjthiIava8t+1qp4m6W8zq6ZKJ5e4Dc5ktO51PLToR5sRxBPaj RZx3u4eRxO+azqFqJmys6NL2Z4osOiRBDQXUT64yKCmNsVXrg/Az7dr7EtwwiUX6kkAe AjxYrOn79VHYv86uCM9jK/0hZ8gL6aIBc2hUlN+qavM+5spzrHW8sACsFla91EmPElKY tTEGUX01X4AqRGrkNVRmka2LTUh5sPnphdg23andWz+m6RS7x5BO+/+yy3wGLUMC91XK B2PQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XAIGBqgi; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::52c as permitted sender) smtp.mailfrom=m.glembo@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com. [2a00:1450:4864:20::52c]) by gmr-mx.google.com with ESMTPS id 2adb3069b0e04-52c97093b97si76218e87.12.2024.06.12.07.40.37 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Jun 2024 07:40:37 -0700 (PDT) Received-SPF: pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::52c as permitted sender) client-ip=2a00:1450:4864:20::52c; Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-5751bcb3139so2994770a12.1 for <swupdate@googlegroups.com>; Wed, 12 Jun 2024 07:40:37 -0700 (PDT) X-Received: by 2002:a17:907:72c5:b0:a69:13a2:4f6e with SMTP id a640c23a62f3a-a6f47d61fe0mr160633666b.74.1718203236792; Wed, 12 Jun 2024 07:40:36 -0700 (PDT) Received: from localhost.localdomain ([2a02:8108:96c0:76fc::b071]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f16b27ac7sm481179166b.54.2024.06.12.07.40.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 07:40:36 -0700 (PDT) From: Michael Glembotzki <m.glembo@gmail.com> To: swupdate@googlegroups.com Cc: Michael Glembotzki <Michael.Glembotzki@iris-sensing.com> Subject: [swupdate] [PATCH 22/23] mongoose: Fix url in mongoose start message Date: Wed, 12 Jun 2024 16:36:20 +0200 Message-ID: <20240612144010.470339-23-Michael.Glembotzki@iris-sensing.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240612144010.470339-1-Michael.Glembotzki@iris-sensing.com> References: <20240612144010.470339-1-Michael.Glembotzki@iris-sensing.com> MIME-Version: 1.0 X-Original-Sender: m.glembo@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XAIGBqgi; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::52c as permitted sender) smtp.mailfrom=m.glembo@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 |
Update Mongoose Version to 7.14
|
expand
|
diff --git a/mongoose/mongoose_interface.c b/mongoose/mongoose_interface.c index fb052ad3..593bdcdc 100644 --- a/mongoose/mongoose_interface.c +++ b/mongoose/mongoose_interface.c @@ -819,7 +819,6 @@ int start_mongoose(const char *cfgfname, int argc, char *argv[]) struct mg_mgr mgr; struct mg_connection *nc; char *url = NULL; - char buf[50] = "\0"; int choice; #if MG_TLS @@ -942,9 +941,8 @@ int start_mongoose(const char *cfgfname, int argc, char *argv[]) start_thread(broadcast_message_thread, NULL); start_thread(broadcast_progress_thread, NULL); - mg_snprintf(buf, sizeof(buf), "%I", 4, &nc->loc.ip); - INFO("Mongoose web server v%s with PID %d listening on %s:%" PRIu16 " and serving %s", - MG_VERSION, getpid(), buf, mg_ntohs(nc->loc.port), s_http_server_opts.root_dir); + INFO("Mongoose web server v%s with PID %d listening on %s and serving %s", + MG_VERSION, getpid(), url, s_http_server_opts.root_dir); while (s_signo == 0) mg_mgr_poll(&mgr, 100);
%I is not resolved. Replace the %I format specifier with %s. char *url is already there. [start_mongoose] : Mongoose web server v7.14 with PID 1277 listening on %I:8080 and serving /var/www/swupdate to [start_mongoose] : Mongoose web server v7.14 with PID 1306 listening on 127.0.0.1:8080 and serving /var/www/swupdate Signed-off-by: Michael Glembotzki <Michael.Glembotzki@iris-sensing.com> --- mongoose/mongoose_interface.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)