From 87e3ed6ed09a9fcd3cab45a6ce674396e51b95bb Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Thu, 10 Aug 2006 14:53:07 -0400
Subject: [PATCH] Updated Slovak translation

---
 program/steps/mail/spell.inc |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/program/steps/mail/spell.inc b/program/steps/mail/spell.inc
index 2ba524e..d60e691 100644
--- a/program/steps/mail/spell.inc
+++ b/program/steps/mail/spell.inc
@@ -24,13 +24,14 @@
 
 $REMOTE_REQUEST = TRUE;
 
-$google = "www.google.com";
+$google = "ssl://www.google.com";
+$port = 443;
 $lang = $_GET['lang'];
 $path = "/tbproxy/spell?lang=$lang";
 $data = file_get_contents('php://input');
 $store = "";
 
-if ($fp = fsockopen($google, 80, $errno, $errstr, 30))
+if ($fp = fsockopen($google, $port, $errno, $errstr, 30))
   {
   $out = "POST $path HTTP/1.0\r\n";
   $out .= "Host: $google\r\n";
@@ -39,6 +40,7 @@
   $out .= "Connection: Close\r\n\r\n";
   $out .= $data;
   fwrite($fp, $out);
+  
   while (!feof($fp))
     $store .= fgets($fp, 128);
   fclose($fp);

--
Gitblit v1.9.1