Changeset 35952
- Timestamp:
- 10/16/15 08:01:39 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/xupnpd/xupnpd.h
r35928 r35952 48 48 if(rcret == getrcconfigint("rcexit", NULL)) break; 49 49 50 if(rcret == getrcconfigint("rcok", NULL) || rcret == getrcconfigint("rcgreen", NULL)) { 50 if(rcret == getrcconfigint("rcok", NULL)) 51 { 52 debug(10, "cmd: %s", xupnpdstop); 53 system(xupnpdstop); 54 debug(10, "cmd: %s", xupnpdstart); 55 ret = system(xupnpdstart); 56 if(ret == 0) 57 textbox(_("Message"), _("xupnpd started and config saved"), _("OK"), getrcconfigint("rcok", NULL), NULL, 0, NULL, 0, NULL, 0, 600, 200, 5, 0); 58 else 59 textbox(_("Message"), _("xupnpd not started,\nPlease check your config."), _("OK"), getrcconfigint("rcok", NULL), NULL, 0, NULL, 0, NULL, 0, 600, 200, 0, 0); 60 drawscreen(xupnpd, 0, 0); 51 61 writeownconfigtmp(); 52 62 writeallconfig(1);
Note: See TracChangeset
for help on using the changeset viewer.