Geo Carncross wrote:
Sorry about the confusion.

dbmail now appears to work; I've been able to inject messages into
dbmail and fetch them just fine.

Will do more testing... expect more patches!

Okidoki. User creation is still broken.

Try using the test-framework. Add --with-check to the configure run (after installing the check package of course), and run "make check"







------------------------------------------------------------------------

diff -u -r1.2 dbsqlite.c
--- sqlite/dbsqlite.c   2005/02/18 21:33:25     1.2
+++ sqlite/dbsqlite.c   2005/02/18 22:46:25
@@ -157,6 +157,7 @@
                }
        }
+ trace(TRACE_ERROR, "%s", the_query);
        if (sqlite_get_table(conn, the_query, &lastq->resp,
                        &lastq->rows, &lastq->cols, &errmsg) != SQLITE_OK) {
                trace(TRACE_ERROR,
@@ -173,10 +174,11 @@
        unsigned long did = 0;
        while (length > 0) {
                if (*from == '\'') *to++ = *from;
-               *to++ = *from;
+               *to++ = *from++;
                length--;
                did++;
        }
+       *to++ = *from; /* err... */
        return did;
 }
 int db_do_cleanup(const char **tables UNUSED, int num_tables UNUSED)


------------------------------------------------------------------------

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev


--
  ________________________________________________________________
  Paul Stevens                                  mailto:[EMAIL PROTECTED]
  NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
  The Netherlands________________________________http://www.nfg.nl

Reply via email to