Browse Source

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

Tomas Mandys 19 years ago
parent
commit
d68d7f72e2
1 changed files with 1 additions and 1 deletions
  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 */