Explorar el Código

usrloc: take in consideration aor case sensitive value for rpc commands

- reported by GH#264
Daniel-Constantin Mierla hace 10 años
padre
commit
e319a22f80
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      modules/usrloc/ul_rpc.c

+ 3 - 1
modules/usrloc/ul_rpc.c

@@ -18,6 +18,7 @@
 
 #include "../../ip_addr.h"
 #include "../../dprint.h"
+#include "../../dset.h"
 #include "../../lib/srutils/sruid.h"
 
 #include "ul_rpc.h"
@@ -321,7 +322,8 @@ static inline int rpc_fix_aor(str *aor)
 		if (p)
 			aor->len = p - aor->s;
 	}
-	strlower(aor);
+	if(!get_aor_case_sensitive())
+		strlower(aor);
 
 	return 0;
 }