[Serusers] if routeXX fails..

Matt Schulte mschulte at netlogic.net
Thu Apr 21 15:34:50 CEST 2005


Is it possible to do this? or is it bad practice, I'm assuming the
"extra" route would have to return an error code to show a nonpositive?
I coulda swore I got this to work awhile back.

if (!route(6)) {
         xlog("L_INFO", "NOTICE: blah <%ru> sending 404\n");
         sl_send_reply("404", "Not Found");
         break;
         } else {
         # Else route6 ran another route and break
         break;
}




More information about the sr-users mailing list