Ticket #267 (closed enhancement: fixed)
internal function duplicates strstr(3)
| Reported by: | rodolphe.ortalo@… | Owned by: | buglog@… |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | openmoko-messages | Version: | current svn head |
| Severity: | minor | Keywords: | VERIFIED |
| Cc: | buglog@… | Blocked By: | |
| Blocking: | Estimated Completion (week): | ||
| HasPatchForReview: | PatchReviewResult: | ||
| Reproducible: |
Description
In openmoko-messages' src/main.c, it seems to me that the function in_string
duplicates the libc builtin function strstr(3).
Unless these functions are not available on the embedded system (special libc?),
maybe it could be replaced. Furthermore, in the attached patch, I replaced it by
strcasestr(3) which allow case-insensitive search.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

in_string replace by strcasestr