Changeset 4128


Ignore:
Timestamp:
12/16/10 19:14:21 (12 years ago)
Author:
alno
Message:

WebIf: Fix for Ticket 1369 - THX hperez for report and suggestion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/oscam-http.c

    r4122 r4128  
    19311931            //else if ((strcmp(proto,"cccam") == 0) || (strcmp(proto,"cccam ext") == 0)) {
    19321932                struct cc_data *cc = cl->cc;
    1933                 tpl_printf(vars, 0, "CLIENTPROTO", "%s (%s-%s)", proto, cc->remote_version, cc->remote_build);
    1934                 if(strcmp(proto,"cccam ext") == 0)
    1935                     tpl_printf(vars, 0, "CLIENTPROTOTITLE", "%s", cc->remote_oscam);
    1936                 else
    1937                     tpl_addVar(vars, 0, "CLIENTPROTOTITLE", ""); //unset tpl var
     1933                if(cc) {
     1934                    tpl_printf(vars, 0, "CLIENTPROTO", "%s (%s-%s)", proto, cc->remote_version, cc->remote_build);
     1935                    if(strcmp(proto,"cccam ext") == 0)
     1936                        tpl_printf(vars, 0, "CLIENTPROTOTITLE", "%s", cc->remote_oscam);
     1937                    else
     1938                        tpl_addVar(vars, 0, "CLIENTPROTOTITLE", ""); //unset tpl var
     1939                }
    19381940            }
    19391941            else
Note: See TracChangeset for help on using the changeset viewer.