Răsfoiți Sursa

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

Tomas Mandys 19 ani în urmă
părinte
comite
d68d7f72e2
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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 */