소스 검색

fixed len to include extra '/' character

cecylia 7 년 전
부모
커밋
3e8d294c0d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      relay_station/relay.c

+ 1 - 1
relay_station/relay.c

@@ -1032,7 +1032,7 @@ int process_downstream(flow *f, int32_t offset, struct packet_info *info){
 					if(len_ptr != NULL){
 						f->replace_response = 1;
 						memcpy(len_ptr + 14, "sli/theen", 9);
-						char *c = len_ptr + 14+8;
+						char *c = len_ptr + 14+9;
 						while(c[0] != '\r'){
 							c[0] = ' ';
 							c++;