Quellcode durchsuchen

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

Tomas Mandys vor 19 Jahren
Ursprung
Commit
d68d7f72e2
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 */