Browse code

dispatcher: set the proper internal id for $dsv(reason)

Daniel-Constantin Mierla authored on 21/11/2019 10:49:50
Showing 1 changed files
... ...
@@ -1222,7 +1222,7 @@ static int pv_parse_dsv(pv_spec_p sp, str *in)
1222 1222
 		break;
1223 1223
 		case 6:
1224 1224
 			if(strncmp(in->s, "reason", 6)==0)
1225
-				sp->pvp.pvn.u.isname.name.n = 2;
1225
+				sp->pvp.pvn.u.isname.name.n = 1;
1226 1226
 			else goto error;
1227 1227
 		break;
1228 1228
 		default: