Changeset 19038


Ignore:
Timestamp:
12/12/12 11:37:04 (11 years ago)
Author:
obi
Message:

disable wget workarounds back to http1.0 fixt this

Location:
titan/plugins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/gmediarender/gmediarender.h

    r18966 r19038  
    3434        {
    3535                unlink("/tmp/gmediarenderpic.jpg");
     36/*
    3637                char* cmd = NULL;
    3738                cmd = ostrcat(cmd, "wget ", 1, 0);
     
    4142                system(cmd);
    4243                free(cmd), cmd = NULL;
    43 //              gethttp(tmpip, path, port, "/tmp/gmediarenderpic.jpg", NULL, NULL, 0);
     44*/
     45                gethttp(tmpip, path, port, "/tmp/gmediarenderpic.jpg", NULL, NULL, 0);
    4446                changepic(gmediarender, "/tmp/gmediarenderpic.jpg");
    4547                drawscreen(gmediarender, 0, 0);
     
    4850        {
    4951                unlink("/tmp/gmediarenderpic.png");
     52/*
    5053                char* cmd = NULL;
    5154                cmd = ostrcat(cmd, "wget ", 1, 0);
     
    5558                system(cmd);
    5659                free(cmd), cmd = NULL;
    57 //              gethttp(tmpip, path, port, "/tmp/gmediarenderpic.png", NULL, NULL, 0);
     60*/
     61                gethttp(tmpip, path, port, "/tmp/gmediarenderpic.png", NULL, NULL, 0);
    5862                changepic(gmediarender, "/tmp/gmediarenderpic.png");
    5963                drawscreen(gmediarender, 0, 0);
  • titan/plugins/tithek/myvideo.h

    r19034 r19038  
    3636        char* tmpstr = NULL;
    3737// not working tmpstr hat zusatzdaten im string
    38 //      tmpstr = gethttp(ip, path, 80, NULL, NULL, NULL, 0);
    39 
     38        tmpstr = gethttp(ip, path, 80, NULL, NULL, NULL, 0);
     39/*
    4040// work start
    4141        unlink("/tmp/myvideo_tmp");
     
    4747        tmpstr = readfiletomem("/tmp/myvideo_tmp", 0);
    4848// work end
    49 
     49*/
    5050        if(flag == 1)
    5151        {
Note: See TracChangeset for help on using the changeset viewer.