|  | @@ -690,7 +690,7 @@ void grpc_chttp2_encode_header(grpc_chttp2_hpack_compressor* c,
 | 
	
		
			
				|  |  |    for (size_t i = 0; i < extra_headers_size; ++i) {
 | 
	
		
			
				|  |  |      grpc_mdelem md = *extra_headers[i];
 | 
	
		
			
				|  |  |      uint8_t static_index = GRPC_MDINDEX(md);
 | 
	
		
			
				|  |  | -    if (static_index > 0) {
 | 
	
		
			
				|  |  | +    if (static_index != GRPC_MDINDEX_UNUSED) {
 | 
	
		
			
				|  |  |        emit_indexed(c, static_index, &st);
 | 
	
		
			
				|  |  |      } else {
 | 
	
		
			
				|  |  |        hpack_enc(c, md, &st);
 | 
	
	
		
			
				|  | @@ -699,7 +699,7 @@ void grpc_chttp2_encode_header(grpc_chttp2_hpack_compressor* c,
 | 
	
		
			
				|  |  |    grpc_metadata_batch_assert_ok(metadata);
 | 
	
		
			
				|  |  |    for (grpc_linked_mdelem* l = metadata->list.head; l; l = l->next) {
 | 
	
		
			
				|  |  |      uint8_t static_index = GRPC_MDINDEX(l->md);
 | 
	
		
			
				|  |  | -    if (static_index > 0) {
 | 
	
		
			
				|  |  | +    if (static_index != GRPC_MDINDEX_UNUSED) {
 | 
	
		
			
				|  |  |        emit_indexed(c, static_index, &st);
 | 
	
		
			
				|  |  |      } else {
 | 
	
		
			
				|  |  |        hpack_enc(c, l->md, &st);
 |