From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <9front-bounces@9front.inri.net> X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from 9front.inri.net (9front.inri.net [168.235.81.73]) by inbox.vuxu.org (Postfix) with ESMTP id 378A42ED75 for ; Mon, 9 Sep 2024 08:11:56 +0200 (CEST) Received: from vultr.musolino.id.au ([45.76.123.158]) by 9front; Mon Sep 9 02:11:05 -0400 2024 Received: from stinger.home.musolino.id.au ([61.245.150.248]) by vultr; Mon Sep 9 16:10:19 +1000 2024 Message-ID: <764ACE45EA09860A18C7975011E8737B@musolino.id.au> To: 9front@9front.org From: Alex Musolino Date: Mon, 09 Sep 2024 15:40:19 +0930 In-Reply-To: <8DE37884-0209-400A-B603-00557873998C@firstpost.pub> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: realtime-java-aware map/reduce ActivityPub over ORM scripting hardware map/reduce out-scaling-aware frontend Subject: Re: [9front] serving html sites with announce, listen and accept (dial(2)) Reply-To: 9front@9front.org Precedence: bulk You are declaring buf as a pointer-to-char so sizeof(buf) == 8. Either use strlen instead of sizeof or declare buf as an array, i.e. char buf[] = "..."; -- Cheers, Alex Musolino