Browse code

- fixed wrong condition

Jan Janak authored on 17/11/2005 20:47:14
Showing 1 changed files
... ...
@@ -346,7 +346,7 @@ avp_t *search_first_avp(unsigned short flags, int_str name, int_str *val, struct
346 346
 	}
347 347
 	s->name = name;
348 348
 
349
-	if (!(flags & AVP_NAME_STR) && !(flags & AVP_NAME_RE)) {
349
+	if (flags & AVP_NAME_STR) {
350 350
 		s->id = compute_ID(name.s);
351 351
 	}
352 352