Some bugs found when compiling for maemo



Hi,

Found the following small bugs when compiling tinymail for maemo:

Index: libtinymail-camel/camel-lite/libedataserver/e-iconv.c
===================================================================
--- libtinymail-camel/camel-lite/libedataserver/e-iconv.c   (revision 1558)
+++ libtinymail-camel/camel-lite/libedataserver/e-iconv.c   (working copy)
@@ -381,7 +381,7 @@
        
        if (iso == 10646) {
            /* they all become ICONV_10646 */
-           ret = g_strdup (ICONV_10646);
+           ret = g_strdup ("ICONV_10646");
        } else {
            tmp = p;
            if (*tmp == '-' || *tmp == '_')

Index: libtinymail-camel/camel-lite/camel/camel-tcp-stream-openssl.c
===================================================================
--- libtinymail-camel/camel-lite/camel/camel-tcp-stream-openssl.c   (revision 1558)
+++ libtinymail-camel/camel-lite/camel/camel-tcp-stream-openssl.c   (working copy)
@@ -369,7 +369,6 @@
                    nread = read (openssl->priv->sockfd, buffer, n);
                }
              } while (0 && (nread < 0 && errno == EINTR));
-           }
        } while (0 && (nread < 0 && (errno == EAGAIN || errno == EWOULDBLOCK)));
        
        error = errno;

-- 
Tomi Pieviläinen, +358 400 487 504
"I will sit down now, but the time will come when you will hear me."
- Benjamin Disraeli, 1st Earl of Beaconsfield

Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]