Changeset 29545 for titan/plugins
- Timestamp:
- 07/24/14 09:17:09 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/firedrive.h
r29543 r29545 73 73 goto end; 74 74 } 75 75 printf("111\n"); 76 76 srvid = string_resub("SRVID=", ";", tmpstr, 0); 77 77 cauth = string_resub("cauth=", ";", tmpstr, 0); 78 78 cfduid = string_resub("__cfduid=", ";", tmpstr, 0); 79 79 confirm = string_resub("name=\"confirm\" value=\"", "\"", tmpstr, 0); 80 printf("222\n"); 81 82 if(confirm == NULL) goto end; 83 printf("333\n"); 80 84 81 85 hashstr = htmlencode(confirm); … … 86 90 debug(99, "hash: %s", hash); 87 91 92 printf("444\n"); 93 if(hash == NULL) goto end; 94 88 95 hashlen = oitoa(strlen(hash)); 89 96 debug(99, "hashlen: %s", hashlen); 97 printf("555\n"); 90 98 91 99 //create send string … … 106 114 send = ostrcat(send, hash, 1, 0); 107 115 debug(99, "send: %s", send); 116 printf("666\n"); 108 117 109 waitmsgbar(12, 0, _("Connect with Hoster wait 12 seconds"), 1); 118 waitmsgbar(16, 0, _("Connect with Hoster wait 12 seconds"), 1); 119 printf("777\n"); 110 120 111 121 tmpstr = gethttpreal(tmphost, tmppath, 80, NULL, NULL, NULL, 0, send, NULL, 5000, 1); … … 113 123 debug(99, "tmpstr: %s", tmpstr); 114 124 titheklog(debuglevel, "/tmp/firedrive2_tmpstr_post", NULL, NULL, NULL, tmpstr); 125 printf("888\n"); 115 126 116 127 if(tmpstr == NULL) … … 125 136 goto end; 126 137 } 138 printf("999\n"); 127 139 128 140 if(ostrstr(tmpstr, "warning_message") != NULL) … … 135 147 goto end; 136 148 } 149 printf("aaa\n"); 137 150 138 151 streamlink = string_resub("file: '", "'", tmpstr, 0); 139 152 titheklog(debuglevel, "/tmp/firedrive4_streamlink", NULL, NULL, NULL, streamlink1); 153 printf("bbb\n"); 140 154 141 155 free(tmpstr); tmpstr = NULL; 156 printf("ccc\n"); 142 157 143 158 end:
Note: See TracChangeset
for help on using the changeset viewer.