소스 검색

- make gcc happy when compiling with a c++ module (str str -> struct _str str)

Tomas Mandys 19 년 전
부모
커밋
d68d7f72e2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      sr_module.h

+ 1 - 1
sr_module.h

@@ -127,7 +127,7 @@ typedef struct fparam {
         int type;                  /* Type of parameter */
         union {
 		char* asciiz;      /* Zero terminated ASCII string */
-		str str;           /* pointer/len string */
+		struct _str str;   /* pointer/len string */
 		int i;             /* Integer value */
 		regex_t* regex;    /* Compiled regular expression */
 		avp_ident_t avp;   /* AVP identifier */