Problems post sprintf->snprintf conversion

Forrest J. Cavalier III mibsoft at
Wed Aug 21 11:52:50 UTC 2002

> I've added a kludge around instead (/long/LLONG/) so we have more
> digits, but I don't like it :(

Well then, we just have to tell people to stop sending so many
large Usenet messages.

Seriously, would this ugly method work?

if (ull >= 1000000000) {
        "%ld%ld",(long) (ull/1000000000),(long) (ull%1000000000)
} else {
        "%ld",(long) (ull%1000000000)

More information about the inn-workers mailing list