Jeff Morriss <jeff.morriss.ws@...> writes:
> Is there a better way? Or better yet, a proper solution?
Not claiming this is better or proper, just another alternative:
epan/strutil.c:
#include <string.h>
size_t ws_strlen(const char *s)
{
if (s == NULL)
return 0;
return strlen(s);
}
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <[email protected]>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:[email protected]?subject=unsubscribe