diff src/proto.raw.c @ 61:66d9d80215f0

Fixed -h and -v return status, fixed source file permissions (thanks github.com/rotty)
author Ivo Smits <Ivo@UFO-Net.nl>
date Wed, 04 Jan 2017 21:42:38 +0100
parents d9f5caa13898
children
line wrap: on
line diff
--- a/src/proto.raw.c	Mon Jul 04 11:59:12 2016 +0200
+++ b/src/proto.raw.c	Wed Jan 04 21:42:38 2017 +0100
@@ -50,7 +50,8 @@
 #ifndef COMBINED_BINARY
 int main(int argc, char** argv) {
 	print_header();
-	if (qtprocessargs(argc, argv) < 0) return -1;
+	int rc = qtprocessargs(argc, argv);
+	if (rc <= 0) return rc;
 	return qtrun(&qtproto_raw);
 }
 #endif