/[monit]/monit/http/processor.c
ViewVC logotype

Diff of /monit/http/processor.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19 by chopp, Wed Aug 13 22:18:43 2003 UTC revision 1.20 by chopp, Wed Sep 3 15:29:29 2003 UTC
# Line 306  void out_print(HttpResponse res, const c Line 306  void out_print(HttpResponse res, const c
306                
307      }      }
308            
309      strcat(res->outputbuffer, string);      strcat((char *) res->outputbuffer, string);
310            
311      free(string);      free(string);
312            
# Line 683  static void send_response(HttpResponse r Line 683  static void send_response(HttpResponse r
683      char *date= get_date();      char *date= get_date();
684      char *server= get_server();      char *server= get_server();
685      char *headers= get_headers(res);      char *headers= get_headers(res);
686      int  len= res->bufused?strlen(res->outputbuffer):0;      int  len= res->bufused?strlen((char *) res->outputbuffer):0;
687    
688      if ( Run.httpdssl ) {      if ( Run.httpdssl ) {
689    
# Line 1130  static int basic_authenticate(HttpReques Line 1130  static int basic_authenticate(HttpReques
1130    
1131        snprintf(buf, STRLEN, "%s:%s", Run.Auth.uname, Run.Auth.passwd);        snprintf(buf, STRLEN, "%s:%s", Run.Auth.uname, Run.Auth.passwd);
1132                
1133        if ( !strncmp(cr, buf, strlen(buf)) ) {        if ( !strncmp((char *) cr, buf, strlen(buf)) ) {
1134                        
1135            rv= TRUE;            rv= TRUE;
1136                        

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26