]> code.citadel.org Git - citadel.git/blobdiff - citadel/serv_fulltext.c
* added a comment infront of the svn modifieable returns. Now it will be me listed...
[citadel.git] / citadel / serv_fulltext.c
index cf28dce181a116c7f60d062f09eacdece70bde14..028f958680b5699f3174dde5f433b8140bea0be3 100644 (file)
@@ -277,7 +277,7 @@ void do_fulltext_indexing(void) {
 
                /* Here it is ... do each message! */
                for (i=0; i<ft_num_msgs; ++i) {
-                       if ((time(NULL) - last_progress) > 10) {
+                       if (time(NULL) != last_progress) {
                                lprintf(CTDL_DEBUG,
                                        "Indexed %d of %d messages (%d%%)\n",
                                                i, ft_num_msgs,
@@ -471,5 +471,7 @@ char *serv_fulltext_init(void)
 {
        initialize_ft_cache();
        CtdlRegisterProtoHook(cmd_srch, "SRCH", "Full text search");
+
+       /* return our Subversion id for the Log */
        return "$Id$";
 }