Sam, two tiny points...
don't free() strbufs directly, this will leak their dynamic buffer
libcitadel.h is already included by webcit.h, so its not needed.
its nice how strbuf compacts the code, right?
r6634 | dothebart | 2008-09-27 12:21:35 -0400 (Sat, 27 Sep 2008) | 2 lines
Changed paths:
M /trunk/webcit/html2html.c
* free the StrBuf apropriate.
r6633 | dothebart | 2008-09-27 12:18:25 -0400 (Sat, 27 Sep 2008) | 3 lines
Changed paths:
M /trunk/webcit/html2html.c
M /trunk/webcit/messages.c
M /trunk/webcit/rss.c
M /trunk/webcit/webcit.c
M /trunk/webcit/web
Attached is a conversion to StrBuf
I've tested my stuff but not the rest; I'm still converting it to use more
liberal tag/attribute matches.
I note that uncensored seems not to be living up to it's name, it's censored
one of my messages and seems to be hitting dothebart worse than that.
SamIndex
probably uncensored needs to be updatet with that.
r6632 | dothebart | 2008-09-27 09:11:01 -0400 (Sat, 27 Sep 2008) | 2 lines
Changed paths:
M /trunk/webcit/webserver.c
* fix SSL posting
Ok, I've researched the problem with our spanish speaking friends a little.
I've sent myself
message 1
message 2
if you enter a Ñ letter, it immediately crashes.
and as you can see in the trace, the JS posts stupid stuff.
maybe someone JS proof could have a look at that? sou
>Sat Sep 27 2008 04:47:24 EDT from [EMAIL PROTECTED]
>Subject: Re: darn snprintf
>
>
>
>
>>Fr Sep 26 2008 23:05:59 CEST von [EMAIL PROTECTED]
>>Betreff: darn snprintf
>>
>>
>>
>>I've got snprintf returning MORE than the max count:
>>
>>int n =
>>snprintf(&con
>Fr Sep 26 2008 23:05:59 CEST von [EMAIL PROTECTED]
>Betreff: darn snprintf
>
>
>
>I've got snprintf returning MORE than the max count:
>
>int n =
>snprintf(&converted_msg[output_length],
>src - ptr +1 , "%s/", ptr
10 matches
Mail list logo