httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@hyperreal.com>
Subject cvs commit: apache/src mod_negotiation.c
Date Sat, 28 Sep 1996 02:30:58 GMT
brian       96/09/27 19:30:58

  Modified:    src       mod_negotiation.c
  Log:
  Clean up -Wall warnings, which seemed like they were good things to fix anyways.
  
  Revision  Changes    Path
  1.19      +4 -5      apache/src/mod_negotiation.c
  
  Index: mod_negotiation.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_negotiation.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -C3 -r1.18 -r1.19
  *** mod_negotiation.c	1996/09/24 12:44:59	1.18
  --- mod_negotiation.c	1996/09/28 02:30:56	1.19
  ***************
  *** 50,56 ****
     *
     */
    
  ! /* $Id: mod_negotiation.c,v 1.18 1996/09/24 12:44:59 mjc Exp $ */
    
    /*
     * mod_negotiation.c: keeps track of MIME types the client is willing to
  --- 50,56 ----
     *
     */
    
  ! /* $Id: mod_negotiation.c,v 1.19 1996/09/28 02:30:56 brian Exp $ */
    
    /*
     * mod_negotiation.c: keeps track of MIME types the client is willing to
  ***************
  *** 995,1005 ****
        accept_rec *accs, *best = NULL, *star = NULL;
        int i;
        char *lang = variant->content_language;
  !     int prefixlen;
        char *p;
        int naccept = neg->accept_langs->nelts;
        int index;
  !     neg_dir_config *conf;
        int longest_lang_range_len = 0;
        int len;
    
  --- 995,1005 ----
        accept_rec *accs, *best = NULL, *star = NULL;
        int i;
        char *lang = variant->content_language;
  !     int prefixlen = 0;
        char *p;
        int naccept = neg->accept_langs->nelts;
        int index;
  !     neg_dir_config *conf = NULL;
        int longest_lang_range_len = 0;
        int len;
    
  ***************
  *** 1060,1066 ****
    		 * of any other language listed on the Accept-Language
    		 * header
    		 */
  ! 	        if (p = strchr(accs[i].type_name, '-')) {
    		    int plen = p - accs[i].type_name;
    		    if (!strncmp(lang, accs[i].type_name, plen))
    			fiddle_q = 0.001;
  --- 1060,1066 ----
    		 * of any other language listed on the Accept-Language
    		 * header
    		 */
  ! 	        if ((p = strchr(accs[i].type_name, '-'))) {
    		    int plen = p - accs[i].type_name;
    		    if (!strncmp(lang, accs[i].type_name, plen))
    			fiddle_q = 0.001;
  ***************
  *** 1183,1189 ****
    {
        int i;
        accept_rec *accept_recs = (accept_rec *)neg->accept_charsets->elts;
  -     float q = 0.0;
        char *charset = variant->content_charset;
    
        if (!charset)
  --- 1183,1188 ----
  
  
  

Mime
View raw message