Browse code

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

Tomas Mandys authored on 08/03/2006 15:31:04
Showing 1 changed files
... ...
@@ -127,7 +127,7 @@ typedef struct fparam {
127 127
         int type;                  /* Type of parameter */
128 128
         union {
129 129
 		char* asciiz;      /* Zero terminated ASCII string */
130
-		str str;           /* pointer/len string */
130
+		struct _str str;   /* pointer/len string */
131 131
 		int i;             /* Integer value */
132 132
 		regex_t* regex;    /* Compiled regular expression */
133 133
 		avp_ident_t avp;   /* AVP identifier */