On 02/24/2012 03:54 PM, Harald Welte wrote:
> Hi Tobias,
>
> thanks for your bug analysis and patch. However, I don't really see how
>
>> - if (strstr(USSD_TEXT_OWN_NUMBER, req.text) != NULL) {
>> + if (strcmp(USSD_TEXT_OWN_NUMBER, (const char *) req.text) == 0) {the old code got strstr the wrong way.. needle and the haystack are mixed up...
