Changeset 40424


Ignore:
Timestamp:
05/13/17 20:27:18 (7 years ago)
Author:
gost
Message:

fix some warnings

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/httpdfunc.h

    r40169 r40424  
    67296729//      if(fmt == 0)
    67306730//      {
    6731                 buf = ostrcat(buf, "<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">", 1, 0);
    6732                 buf = ostrcat(buf, "<link rel=stylesheet type=text/css href=titan.css><script type=text/javascript src=titan.js></script>", 1, 0);
    6733                 buf = ostrcat(buf, "</head><body class=body id=\"createrestore\"><center>", 1, 0);
    6734                 buf = ostrcat(buf, "<br>", 1, 0);
    6735                 buf = ostrcat(buf, "<h1>", 1, 0);
     6731        buf = ostrcat(buf, "<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">", 1, 0);
     6732        buf = ostrcat(buf, "<link rel=stylesheet type=text/css href=titan.css><script type=text/javascript src=titan.js></script>", 1, 0);
     6733        buf = ostrcat(buf, "</head><body class=body id=\"createrestore\"><center>", 1, 0);
     6734        buf = ostrcat(buf, "<br>", 1, 0);
     6735        buf = ostrcat(buf, "<h1>", 1, 0);
    67366736        if(tmpstr == NULL)
    67376737                buf = ostrcat(buf, _("No backup folders found!!!\n\nAborting restoring..."), 1, 0);
     
    67396739                buf = ostrcat(buf, _("Backup created successfully"), 1, 0);
    67406740
    6741                 buf = ostrcat(buf, "</h1>", 1, 0);
    6742                 buf = ostrcat(buf, "<br>", 1, 0);
     6741        buf = ostrcat(buf, "</h1>", 1, 0);
     6742        buf = ostrcat(buf, "<br>", 1, 0);
    67436743//      }
    67446744
  • titan/titan/mediadb.h

    r40382 r40424  
    21792179        struct mediadb *node = NULL, *cmediadb = NULL;
    21802180
    2181         if(id != NULL);
     2181        if(id != NULL)
    21822182                tmpid = ostrcat(tmpid, id, 1, 0);
    21832183               
Note: See TracChangeset for help on using the changeset viewer.