Merge: nitcorn: fix HttpRequest::int_arg
authorJean Privat <jean@pryen.org>
Tue, 16 May 2017 13:28:22 +0000 (09:28 -0400)
committerJean Privat <jean@pryen.org>
Tue, 16 May 2017 13:28:22 +0000 (09:28 -0400)
commitb5ed6674aaa9a003f1f5e21f2c9d6967b5de03d6
tree41c376daa8f607c48f5282775dac8ec9482c12f7
parentbe12401209a7cc1865a047b4da594f39afaadd1b
parent48a58eea20dacc26af184591d17f7da6e2aa0bab
Merge: nitcorn: fix HttpRequest::int_arg

Before this commit, sending `?n=9.5` to a nitcorn application using `int_arg`
caused the app to crash (see the following to_i).

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

Pull-Request: #2414
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>