X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fserv_func.c;h=9f9f89c8cfce0edb927cf46206c15e77653efd20;hb=fcf307e182caecb456f8eb86b292143db529d8d8;hp=bff64e9e3373993fd08827960bee66aceba72017;hpb=d446f6d5382d66643f94399e1e08aa919482fb7d;p=citadel.git diff --git a/webcit/serv_func.c b/webcit/serv_func.c index bff64e9e3..9f9f89c8c 100644 --- a/webcit/serv_func.c +++ b/webcit/serv_func.c @@ -1,3 +1,11 @@ +/* + * Functions which handle communication with the Citadel server. + * + * Copyright (c) 1996-2018 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. + */ #include "webcit.h" #include "webserver.h" @@ -238,10 +246,10 @@ int GetConnected (void) "In order to run this version of WebCit " "you must also have Citadel %d.%02d or" " newer.\n\n\n"), - WCC->serv_info->serv_rev_level / 100, - WCC->serv_info->serv_rev_level % 100, - MINIMUM_CIT_VERSION / 100, - MINIMUM_CIT_VERSION % 100 + WCC->serv_info->serv_rev_level, + 0, + MINIMUM_CIT_VERSION, + 0 ); hprintf("HTTP/1.1 200 OK\r\n"); hprintf("Content-type: text/plain; charset=utf-8\r\n");