Changeset 15481 for titan/plugins
- Timestamp:
- 05/04/12 01:28:19 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/panel/panel_feed.h
r12893 r15481 7 7 char* pos = NULL; 8 8 9 tmpstr= readsys(getconfig("feed", NULL), 3); //line310 tmpstr= string_replace("src/gz secret http://", "", tmpstr, 1);9 lastline = readsys(getconfig("feed", NULL), 3); //line3 10 lastline = string_replace("src/gz secret http://", "", tmpstr, 1); 11 11 12 if( tmpstr!= NULL)13 pos = strchr( tmpstr, '/');12 if(lastline != NULL) 13 pos = strchr(lastline, '/'); 14 14 if(pos != NULL) 15 15 pos[0] = '\0'; 16 16 17 if( tmpstr == NULL || ostrcmp(tmpstr, "") == 0 || ostrcmp(tmpstr, "\n") == 0)18 tmpstr = ostrcat(tmpstr, "000.000.000.000", 1, 0);17 if(lastline == NULL || ostrcmp(lastline, "") == 0 || ostrcmp(lastline, "\n") == 0) 18 lastline = ostrcat(lastline, "titan.address.com", 1, 0); 19 19 20 lastline = numinput(_("Feed"), tmpstr, "000.000.000.000", 1);20 lastline = textinput(_("Feed"), lastline); 21 21 22 22 if(lastline != NULL) 23 23 { 24 free(tmpstr); tmpstr = NULL;25 tmpstr = fixip(lastline, 1);26 free(lastline); lastline = tmpstr;27 28 24 tmpstr = readsys(getconfig("feed", NULL), 1); //line1 29 25 if(tmpstr == NULL || (tmpstr != NULL && strlen(tmpstr) == 0))
Note: See TracChangeset
for help on using the changeset viewer.