Subversion Repositories Kolibri OS

Rev

Rev 8574 | Rev 8698 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8574 Rev 8594
Line 236... Line 236...
236
					if (!strchr(http.cur_url, '?')) {
236
					if (!strchr(http.cur_url, '?')) {
237
						cache.add(http.cur_url, http.content_pointer, http.content_received, PAGE, WB1.custom_encoding);
237
						cache.add(http.cur_url, http.content_pointer, http.content_received, PAGE, WB1.custom_encoding);
238
					}
238
					}
239
					LoadInternalPage(http.content_pointer, http.content_received);
239
					LoadInternalPage(http.content_pointer, http.content_received);
240
					free(http.content_pointer);
240
					free(http.content_pointer);
-
 
241
					http.hfree();
241
				}
242
				}
242
				else if (http_get_type==IMG) {
243
				else if (http_get_type==IMG) {
243
					_IMG_RES:
244
					_IMG_RES:
244
					if (http.status_code >= 200) && (http.status_code < 300) {
245
					if (http.status_code >= 200) && (http.status_code < 300) {
245
						cache.add(cur_img_url, http.content_pointer, http.content_received, IMG, NULL);
246
						cache.add(cur_img_url, http.content_pointer, http.content_received, IMG, NULL);
246
					} else {
247
					} else {
247
						cache.add(cur_img_url, 0, 0, IMG, NULL);
248
						cache.add(cur_img_url, 0, 0, IMG, NULL);
248
					}
249
					}
249
					free(http.content_pointer);
250
					free(http.content_pointer);
-
 
251
					http.hfree();
250
					GetImg(false);
252
					GetImg(false);
251
				}
253
				}
252
				http.hfree();
-
 
253
			}
254
			}
254
			break;
255
			break;
255
		default:
256
		default:
256
			if (ESDWORD[shared_url] != '\0') {
257
			if (ESDWORD[shared_url] != '\0') {
257
				EventOpenNewTab(shared_url);
258
				EventOpenNewTab(shared_url);