From cb2bc809ef29f349d38c89e202d821e67bb4c947 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Tue, 21 Sep 2010 14:47:55 -0400
Subject: [PATCH] Fix db_mode check in insert_id()

---
 program/steps/utils/spell_googie.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/steps/utils/spell_googie.inc b/program/steps/utils/spell_googie.inc
index d06a1a8..9d47a51 100644
--- a/program/steps/utils/spell_googie.inc
+++ b/program/steps/utils/spell_googie.inc
@@ -46,7 +46,7 @@
 if ($fp = fsockopen($host, $port, $errno, $errstr, 30))
   {
   $out = "POST $path HTTP/1.0\r\n";
-  $out .= "Host: $host\r\n";
+  $out .= "Host: " . str_replace('ssl://', '', $host) . "\r\n";
   $out .= "Content-Length: " . strlen($data) . "\r\n";
   $out .= "Content-Type: application/x-www-form-urlencoded\r\n";
   $out .= "Connection: Close\r\n\r\n";

--
Gitblit v1.9.1