<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/teak/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/teak/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 19 Apr 2002 09:09:46 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/teak/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>missing server type option causes no err</title><link>https://sourceforge.net/p/teak/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Rich,&lt;/p&gt;
&lt;p&gt;if the type option for a server in teakservers.ini&lt;br /&gt;
isn't set then the user just gets an error about not&lt;br /&gt;
being able to connect to a server.&lt;/p&gt;
&lt;p&gt;Adding the following default block to the switch&lt;br /&gt;
statement in Main_Window::connect_to_server will give&lt;br /&gt;
the user some feedback about the actual error.&lt;/p&gt;
&lt;p&gt;default:&lt;br /&gt;
//No server type specified&lt;br /&gt;
$message=&amp;amp;quot;The type parameter in the teakservers.ini&lt;br /&gt;
for the server: &amp;amp;quot; . &lt;br /&gt;
$servers[$server_index][name] . &amp;amp;quot; is not set.\n&lt;br /&gt;
Please specify either imap or db.\n&amp;amp;quot;;&lt;br /&gt;
$ed = &amp;amp;amp;new error_dialog($message);&lt;br /&gt;
return FALSE;&lt;/p&gt;
&lt;p&gt;Regards&lt;br /&gt;
Adi&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 19 Apr 2002 09:09:46 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netd47df5d1c394f3ee25036b38c7a73d6b3e07ea00</guid></item><item><title>Check the file pointers before reading</title><link>https://sourceforge.net/p/teak/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I just downloaded your source because i wonderd how it&lt;br /&gt;
works.&lt;br /&gt;
I have seen that you read data from file without&lt;br /&gt;
checking if the file is ready to stream data (or even&lt;br /&gt;
if the file is opened)&lt;/p&gt;
&lt;p&gt;What you use @ the moment is :&lt;/p&gt;
&lt;p&gt;$filepointer = fopen(&amp;amp;quot;filename.file&amp;amp;quot;,&amp;amp;quot;r&amp;amp;quot;);&lt;br /&gt;
while (!feof($filepointer)){&lt;br /&gt;
$foobar .= fgets($filepointer, 1024);&lt;br /&gt;
}&lt;br /&gt;
fclose($filepointer);&lt;/p&gt;
&lt;p&gt;A much nicer way is to do it this way :&lt;/p&gt;
&lt;p&gt;if ($filepointer = fopen(&amp;amp;quot;filename.file&amp;amp;quot;,&amp;amp;quot;r&amp;amp;quot;)){&lt;br /&gt;
/* Ok nice file opened get data */&lt;br /&gt;
while (!feof($filepointer)){&lt;br /&gt;
$foobar .= fgets($filepointer, 1024);&lt;br /&gt;
}&lt;br /&gt;
fclose($filepointer);&lt;br /&gt;
} else {&lt;br /&gt;
/* There is a problem with opening the file... */&lt;br /&gt;
die(&amp;amp;quot;We where unable to open the file&lt;br /&gt;
'filename.file'\nMaybe the file doesn't exists or you&lt;br /&gt;
don't have\nthe right permisions to access the file.\n&amp;amp;quot;);&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;I hope you can use it,&lt;/p&gt;
&lt;p&gt;With kind regards,&lt;/p&gt;
&lt;p&gt;Sander Aerts CEO SQAD Visual Multi-Media&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 06 Dec 2001 18:43:38 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net1c07997b15594cbaeb1c1fae594728c5f689cc03</guid></item><item><title>HeaderBlock doesn't resize</title><link>https://sourceforge.net/p/teak/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The headerblock (contain to, cc, subj etc...fields)&lt;br /&gt;
only increaes in size. It grows if a message requires&lt;br /&gt;
more space but doesn't shrink afterwards.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rich Payne</dc:creator><pubDate>Wed, 05 Dec 2001 15:57:53 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net908f9d4ff403030957328c531aab9b67f6a9001a</guid></item></channel></rss>