From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 28775 invoked from network); 7 Feb 2021 23:15:23 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 7 Feb 2021 23:15:23 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Received: from mail-pl1-f175.google.com ([209.85.214.175]) by 1ess; Sun Feb 7 18:03:40 -0500 2021 Received: by mail-pl1-f175.google.com with SMTP id u11so6809251plg.13 for <9front@9front.org>; Sun, 07 Feb 2021 15:03:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mforney-org.20150623.gappssmtp.com; s=20150623; h=message-id:to:from:date:subject; bh=RtqrMCmON5etlazyIQ4XxAZQksgTiQHdwi7mzuDhM6I=; b=Q+VjhhsoxuT5FJcXSW8Wxd2pKKGv/kZIGmBSAPkKFqM50NfcBcxbb4uCI5Eahs8LhA lMPTIouvvdmwXea9GgaC7qv1uSR2i8Criw9wZ4xvACps5ecIpA7oH3aQfPzKC08Alceg 39tI6vQgAbOp9HmABP9ocLCPDjQq/+Zbua+/WKqrBoGj4OaYAXcPWHFqQyt/bbrkUryz mi7TyQ+/zOYmOwdMj4BLsZo7vjAUdbhUZNILljmiPs9Bh6nLmDta5MWrK7ecM6otFLxb pzH7S+bPSTU7+EVI5vzQd2D1bnN/NtuBtd1gf/A4ehdNF3VQYJ7RuCNpHz6xXr6CEecH m3fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:to:from:date:subject; bh=RtqrMCmON5etlazyIQ4XxAZQksgTiQHdwi7mzuDhM6I=; b=HCArUYaMfIPtgMGowWU7YsDGFQ/wMvFTPkzrrltlmZYs98fkkRhW+VBT6KppsxfGuV LpufuA7ffnknPrU8+t6ToEIhoChF86fQmR7pRP5iZlVAusIAVRqPE9A6vQnzQ/yjFvUy EA4AQ5nUMoNaBcvcdhCPrdpmGRzwS3birYKDw3BUHJcXnuSFKxc7ecmddO5XsEvnBRg2 TJD0658pgbLdAECVVwfeW3ksPFw+6kov9DOYasN1PLcY91LarPNES2AcTYDu/6Kf9bac at3cEIG0pxUrSzh6sPF02la6YaVojj8EcVFg9QZzzb7+7oWGP5KTj9afGomrTp1+5K8W 2H7Q== X-Gm-Message-State: AOAM532bcNmNtVstEfZM3gY30I4Xty9ciF2fYkazhnjCbm4jJbucE4Ms ps9CnRZsNT1NOVjglpdaWsdobpDQy4t27pLuRUY= X-Google-Smtp-Source: ABdhPJwLbZw2rzRuKQoGbe4bu4CI07HVI4wd39efu/WC5m54zHYlQaD9Qo/yCcwC+TUl55u5kPJrfQ== X-Received: by 2002:a17:902:59dc:b029:e1:8d8f:2aa1 with SMTP id d28-20020a17090259dcb02900e18d8f2aa1mr13516588plj.78.1612739009283; Sun, 07 Feb 2021 15:03:29 -0800 (PST) Return-Path: Received: from arrow.hsd1.ca.comcast.net (c-73-70-188-119.hsd1.ca.comcast.net. [73.70.188.119]) by smtp.gmail.com with ESMTPSA id z15sm16569709pfr.89.2021.02.07.15.03.28 for <9front@9front.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 07 Feb 2021 15:03:28 -0800 (PST) Message-ID: <54D6CBB115D11CFE3AA41EE52B4C2355@arrow.hsd1.ca.comcast.net> To: 9front@9front.org From: Michael Forney Date: Sun, 07 Feb 2021 23:01:36 +0000 List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: abstract self-signing full-stack-scale framework Subject: [9front] upas/vf: remove debugging print statements Reply-To: 9front@9front.org Precedence: bulk These messages aren't useful and were presumably left over from someone debugging this code. diff 7316cf014f78ae5b777152f50c3ebbb7da5b82e8 55083200f5d1392076feb1bd51625d02d46a9698 --- a/sys/src/cmd/upas/vf/vf.c Sun Feb 7 14:51:05 2021 +++ b/sys/src/cmd/upas/vf/vf.c Sun Feb 7 15:01:36 2021 @@ -505,19 +505,15 @@ if(justreject) return p; -fprint(2, "x\n"); syslog(0, "mail", "vf wrapped %s %s", p->type?s_to_c(p->type):"?", p->filename?s_to_c(p->filename):"?"); -fprint(2, "x\n"); boundary = mkboundary(); -fprint(2, "x\n"); /* print out non-mime headers */ for(hl = p->hl; hl != nil; hl = hl->next) if(cistrncmp(s_to_c(hl->s), "content-", 8) != 0) Bprint(&out, "%s", s_to_c(hl->s)); -fprint(2, "x\n"); /* add in our own multipart headers and message */ Bprint(&out, "Content-Type: multipart/mixed;\n"); Bprint(&out, "\tboundary=\"%s\"\n", s_to_c(boundary)); @@ -561,11 +557,9 @@ break; } -fprint(2, "z\n"); /* pass the body */ np = passbody(p, 0); -fprint(2, "w\n"); /* add the new boundary and the original terminator */ Bprint(&out, "--%s--\n", s_to_c(boundary)); if(np && np->boundary){ @@ -573,7 +567,6 @@ Bwrite(&out, cp, Blinelen(&in)); } -fprint(2, "a %p\n", np); return np; }