From: Amin Azez <azez@ufomechanic.net>
To: Patrick McHardy <kaber@trash.net>
Cc: Harald Welte <laforge@netfilter.org>,
Netfilter Development Mailinglist
<netfilter-devel@lists.netfilter.org>
Subject: Re: new code; iptables-xml for iptables package.
Date: Fri, 10 Nov 2006 14:59:23 +0000 [thread overview]
Message-ID: <455493CB.4020501@ufomechanic.net> (raw)
In-Reply-To: <45548FC7.1080702@trash.net>
* Patrick McHardy wrote, On 10/11/06 14:42:
> Amin Azez wrote:
>> * Patrick McHardy wrote, On 10/11/06 13:51:
>>
>>> Amin Azez wrote:
>>>
>>>> As for the spacing - guilt - I used the wrong indent options obviously
>>>> :-) fixed now
>>> Thanks, now all I need is a patch to the Makefile to actually compile
>>> this thing :)
>
> Thanks. Compiling gives me a warning about an unused result of this
> expression:
>
> static void
> xmlEncode(char *text)
> {
> ...
> *text++;
>
> }
>
> I assume this should be "text++"?
Oh! Certainly!
In trying to work out why it works at all, I discover that
*text++ is not the same as (*text)++; both of which are wrong in this case.
While we are at it we should make that compare at the top of the same
function be >=127 not >127
Sam
next prev parent reply other threads:[~2006-11-10 14:59 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-09 11:32 new code; iptables-xml for iptables package Amin Azez
2006-11-09 18:34 ` Patrick McHardy
2006-11-10 10:43 ` Amin Azez
2006-11-10 13:07 ` Patrick McHardy
2006-11-10 13:28 ` Amin Azez
2006-11-10 13:51 ` Patrick McHardy
2006-11-10 14:29 ` Amin Azez
2006-11-10 14:42 ` Patrick McHardy
2006-11-10 14:59 ` Amin Azez [this message]
2006-11-10 15:11 ` Patrick McHardy
2006-11-10 15:57 ` Amin Azez
2006-11-13 19:43 ` Patrick McHardy
2006-11-10 14:43 ` Pablo Neira Ayuso
2006-11-10 15:13 ` Amin Azez
2006-11-22 17:37 ` Glen Turner
2006-11-23 12:55 ` Amin Azez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=455493CB.4020501@ufomechanic.net \
--to=azez@ufomechanic.net \
--cc=kaber@trash.net \
--cc=laforge@netfilter.org \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.