Browse code

- minor fix

Andrei Pelinescu-Onciul authored on 03/02/2006 15:33:22
Showing 1 changed files
... ...
@@ -828,7 +828,7 @@ int parse_avp_ident( str *name, avp_ident_t* attr)
828 828
 			name->s +=3;
829 829
 			name->len -=3;
830 830
 		} else {
831
-			ERR("AVP unknown class prefix '%.*s'\n", p-name->s,name->s);
831
+			ERR("AVP unknown class prefix '%.*s'\n", name->len, name->s);
832 832
 			goto error;
833 833
 		}
834 834
 		if (name->len==0) {