Changeset 15620


Ignore:
Timestamp:
05/09/12 16:52:02 (11 years ago)
Author:
obi
Message:

[titan] fix panel>feed secret feed as ip 97.....

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/panel/panel_feed.h

    r15613 r15620  
    1616
    1717        if(tmpstr == NULL || ostrcmp(tmpstr, "") == 0 || ostrcmp(tmpstr, "\n") == 0)
    18                 tmpstr = ostrcat(tmpstr, "abcde.mynonpublic.com", 1, 0);
    19 
    20         lastline = textinput(_("Feed"), tmpstr);
     18                tmpstr = ostrcat(tmpstr, "000.000.000.000", 1, 0);
     19               
     20        lastline = numinput(_("Feed"), tmpstr, "000.000.000.000", 1);
    2121       
    2222        if(lastline != NULL)
    2323        {
    2424                free(tmpstr); tmpstr = NULL;
    25                 tmpstr = ostrcat(tmpstr, lastline, 1, 0);
     25                tmpstr = fixip(lastline, 1);
    2626                free(lastline); lastline = tmpstr;
    2727
Note: See TracChangeset for help on using the changeset viewer.