X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fautocompletion.c;h=009df23821418e9e5638fe7d6d9eb382f1102bda;hb=5d38a76f8f06640e3a3f097d584ac52336110f7c;hp=4cf4ccd6f659ff139fe84df68da623d681c6282e;hpb=5685e790de93f77083ea240f474a4870b194c550;p=citadel.git diff --git a/webcit/autocompletion.c b/webcit/autocompletion.c index 4cf4ccd6f..009df2382 100644 --- a/webcit/autocompletion.c +++ b/webcit/autocompletion.c @@ -1,7 +1,15 @@ /* - * $Id$ - * * ajax-powered autocompletion... + * + * Copyright (c) 1996-2012 by the citadel.org team + * + * This program is open source software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. */ #include "webcit.h" @@ -25,22 +33,22 @@ void recp_autocomplete(char *partial) { PACKAGE_STRING); begin_burst(); - wprintf(""); - wprintf("\r\n\r\n"); + wc_printf("\r\n\r\n"); wDumpContent(0); } @@ -54,7 +62,7 @@ void InitModule_AUTO_COMPLETE (void) { - WebcitAddUrlHandler(HKEY("recp_autocomplete"), _recp_autocomplete, 0); - WebcitAddUrlHandler(HKEY("cc_autocomplete"), _cc_autocomplete, 0); - WebcitAddUrlHandler(HKEY("bcc_autocomplete"), _bcc_autocomplete, 0); + WebcitAddUrlHandler(HKEY("recp_autocomplete"), "", 0, _recp_autocomplete, 0); + WebcitAddUrlHandler(HKEY("cc_autocomplete"), "", 0, _cc_autocomplete, 0); + WebcitAddUrlHandler(HKEY("bcc_autocomplete"), "", 0, _bcc_autocomplete, 0); }