Re: trouble with posting: garbled date header...

"Dirk Hogenkamp" <[email protected]> Sat, 07 Jan 2006 21:37:42 -0000
Newsgroups gmane.comp.handhelds.palm.yanoff
Message-ID <[email protected]>
--- In [email protected], "Gregg Woodcock" <woodcock@S...> 
wrote:
>
> 
> Strange.  The Palm OS APII 'dfDMYLong' format creates an inital 
date 
> string like this:
>    Sun Dec 25 2005
> I pass in str+1 to the OS's DateToDOWDMFormat function and then 
used:
>    StrNCopy(str, str + 1, 3); str[3]= ','
> This modifies the string to add a comma so it looks like this:
>    Sun, Dec 25 2005
> Presumably StrNCopy on T3 (and other devices?) has issues with the 
> sorce and destination being the same buffer so I just changed 3.2 
to 
> do it like this:
>    for (i=0; (i<3); i++) { str[i] = str[i+1]; }
> 
> I have to look around for any other code that does similar...

Aha, sounds very technical to me. But it seems you've found 
something in your code to inprove.

> 
> > > > ... 
> > > Those are valid settings which should cause over-the-air (OTA) 
or 
> > > conduit polling to work.  I don't get it but I'll have to 
install 
> > the 
> > > conduit myself and see what is what.
> > 
> > But think of this: The same article, wich causes the problem we 
> > discussed above, was polled OTA without an error.
> 
> "Polled" or "posted"?

Uuups, "posted" of course.

> It is likely that the conduit does some sanity testing of the 
headers 
> whereas the receiving mail/news server probably discards the date 
> header and supplies it's own.
> 
> Anyway, this will surely be fixed in v3.2 by this change!
>

Great, when will be v3.2 available?







To Post a message, send it to:   [email protected]
To Unsubscribe, send a blank message to: [email protected] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/yanoff/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/