  | |  | Str_prefix (bug?) | Str_prefix (bug?) 2004-05-03 - By Marquoz
Back Hello again,
While adding in a banking system I used str_prefix a lot and noticed that if you send \0 it will match up to everything. I'm not sure why this was done, but I changed my str_prefix a little to exclude these matches.
if (astr[0] == '\0') return TRUE;
David Roundhill
-- ROM mailing list ROM@(protected) http://www.rom.org/cgi-bin/mailman/listinfo/rom
Earn $52 per hosting referral at Lunarpages.
|
|
 |