Re: [PATCH]ppg push - crashing bug trusted-pi/no user

2003-03-20 Thread Stipe Tolj
In theory, only the patch to wap_push_ppg_pushuser.c is needed to prevent the crash. However, why bother to have pap_request_thread call wap_push_ppg_pushuser_smsc_id_get when you already know there is no username to make wap_push_ppg_pushuser_smsc_id_get do something usefull? Also, it allows

Re: [PATCH]ppg push - crashing bug trusted-pi/no user

2003-03-20 Thread Bas A. Schulte
Stipe, On Thursday, March 20, 2003, at 01:51 PM, Stipe Tolj wrote: I'd suggest this approach: retos = http_cgi_variable(cgivars, smsc); if (retos == NULL) { /* if we have a valid username, get the user specific routing */ if (username