Subversion Repositories Kolibri OS

Rev

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

Rev 8500 Rev 8574
Line 229... Line 229...
229
					notify("'Too many redirects.' -E");
229
					notify("'Too many redirects.' -E");
230
				}
230
				}
231
			} else {
231
			} else {
232
				// Loading the page is complete, free resources
232
				// Loading the page is complete, free resources
233
				redirect_count = 0;
233
				redirect_count = 0;
234
				http.hfree();
-
 
235
				if (http_get_type==PAGE) {
234
				if (http_get_type==PAGE) {
236
					history.add(http.cur_url);
235
					history.add(http.cur_url);
237
					if (!strchr(http.cur_url, '?')) {
236
					if (!strchr(http.cur_url, '?')) {
238
						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);
239
					}
238
					}
Line 248... Line 247...
248
						cache.add(cur_img_url, 0, 0, IMG, NULL);
247
						cache.add(cur_img_url, 0, 0, IMG, NULL);
249
					}
248
					}
250
					free(http.content_pointer);
249
					free(http.content_pointer);
251
					GetImg(false);
250
					GetImg(false);
252
				}
251
				}
-
 
252
				http.hfree();
253
			}
253
			}
254
			break;
254
			break;
255
		default:
255
		default:
256
			if (ESDWORD[shared_url] != '\0') {
256
			if (ESDWORD[shared_url] != '\0') {
257
				EventOpenNewTab(shared_url);
257
				EventOpenNewTab(shared_url);