At 4:31 PM -0400 10/8/98, Gilles Detillieux wrote:
>My question: was this the right thing to do? It got rid of the warning
>all right, but did it break the code? The code seems to truncate meta
>description tags, so I don't think any of my testing ever gave this
>a workout. Can someone more knowledgeable in C++ and/or this code tell
>me if this is right? Thanks.
I actually went for:
String temp = meta_dsc.sub(0, max_meta_description_length);
meta_dsc = temp;
temp = 0;
I dislike seeing an object assign to itself. It might work, but there may
be some memory bugs hiding around too.
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/
----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the body of the message.