plugins/tuntap: add missing return on error

Reported by Coverity as CID #1308282
This commit is contained in:
Riccardo Magliocchetti
2015-07-07 18:32:43 +02:00
parent 5b56f7c570
commit 102f7387cb
+1
View File
@@ -189,6 +189,7 @@ void uwsgi_tuntap_opt_firewall(char *opt, char *value, void *direction) {
char *space2 = strchr(space + 1, ' ');
if (!space2) {
uwsgi_log("invalid tuntap firewall rule syntax. must be <action> <src/mask> <dst/mask>");
return;
}
*space2 = 0;