Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: CVS

cvs commit: apache/src mod_negotiation.c

 

 

Apache cvs RSS feed   Index | Next | Previous | View Threaded


ben at hyperreal

Apr 17, 1996, 7:02 AM

Post #1 of 1 (62 views)
Permalink
cvs commit: apache/src mod_negotiation.c

ben 96/04/17 07:02:19

Modified: src mod_negotiation.c
Log:
Fix a few places where floats were used instead of ints.

Revision Changes Path
1.6 +2 -2 apache/src/mod_negotiation.c

Index: mod_negotiation.c
===================================================================
RCS file: /export/home/cvs/apache/src/mod_negotiation.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C3 -r1.5 -r1.6
*** mod_negotiation.c 1996/04/09 22:49:54 1.5
--- mod_negotiation.c 1996/04/17 14:02:17 1.6
***************
*** 209,215 ****
mime_info->content_encoding = "";
mime_info->content_language = "";

! mime_info->is_pseudo_html = 0.0;
mime_info->level = 0.0;
mime_info->level_matched = 0.0;
mime_info->qs = 0.0;
--- 209,215 ----
mime_info->content_encoding = "";
mime_info->content_language = "";

! mime_info->is_pseudo_html = 0;
mime_info->level = 0.0;
mime_info->level_matched = 0.0;
mime_info->qs = 0.0;
***************
*** 896,902 ****
accept_rec *accs = (accept_rec *)accept_encodings->elts;
int i;

! if (is_identity_encoding(enc)) return 1.0;

for (i = 0; i < accept_encodings->nelts; ++i)
if (!strcmp (enc, accs[i].type_name))
--- 896,902 ----
accept_rec *accs = (accept_rec *)accept_encodings->elts;
int i;

! if (is_identity_encoding(enc)) return 1;

for (i = 0; i < accept_encodings->nelts; ++i)
if (!strcmp (enc, accs[i].type_name))

Apache cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.