On Fri, Jun 23, 2006 at 10:20:56PM +0200, Giuseppe Sacco wrote:
>
> ------- Comment #17 From Lee Howard 2006-06-23 00:01 [reply] -------
> Why did the newline get removed from the CallID printf format?
>
> printf("%9s%u: %s\n", "CallID", i+1, (const char*) callid.id(i));
hm, not sure but guess a line hiccup messed a bit with ':x' while trying
to exit vi(1) from remote.
> ------- Comment #18 From Lee Howard 2006-06-23 13:13 [reply] -------
> I think that this is what you want, anyway, instead (uses printField rather
> than printf):
>
> char callidstring[16];
> for (u_int i = 0; i < callid.size(); i++) {
> snprintf(callidstring, 15, "CallID%u", i+1);
> printField("%s", callidstring, (const char*) callid.id(i));
> }
ah, I did overlook that field - never got a CallID in a fax*.tif so far,
so didn't realize orig. format patches missed it.
thanks
-- paolo
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]