]> code.citadel.org Git - citadel.git/blobdiff - citadel/serv_fulltext.c
Internal version number is now 6.80
[citadel.git] / citadel / serv_fulltext.c
index 3b65c8a259c9b60f9652c412a9f754ad75e2c7c1..2c23d49dc09b30387fe1e7785d2f9a6dd0396778 100644 (file)
@@ -422,7 +422,7 @@ void ft_search(int *fts_num_msgs, long **fts_msgs, char *search_string) {
 
 
 /*
- * Tentative form of a search command
+ * This search command is for diagnostic purposes and may be removed or replaced.
  */
 void cmd_srch(char *argbuf) {
        int num_msgs = 0;
@@ -435,6 +435,7 @@ void cmd_srch(char *argbuf) {
        if (!config.c_enable_fulltext) {
                cprintf("%d Full text index is not enabled on this server.\n",
                        ERROR + CMD_NOT_SUPPORTED);
+               return;
        }
 
        extract_token(search_string, argbuf, 0, '|', sizeof search_string);