From: Sunil S. <sh...@bo...> - 2005-10-03 09:42:15
|
Hi, fetchmail has too many global variables which are not being initialized properly. This affects the daemon mode as variables which are modified for a particular mailbox/poll never get reset back to the original value, thus affecting all the mailboxes/polls from that point on. This patch attempts to sort and fix a few of these variables. This patch also removes unused variables and moves variables which are unnecessarily static global. The idea of this problem came from the fix to the original problem reported in: <http://lists.berlios.de/pipermail/fetchmail-users/2005-September/000059.html>. I suspect that there could be a few more variables of this kind. If possible, an audit of all global variables should be done. -- Sunil Shetye. |