From 8b4323237fe44826c98a4e481234ea271ae87771 Mon Sep 17 00:00:00 2001 From: ha7ilm Date: Thu, 12 Jan 2017 17:50:51 +0100 Subject: [PATCH] nmux: fixed cmp op --- nmux.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nmux.cpp b/nmux.cpp index b5dab59..ae53e95 100644 --- a/nmux.cpp +++ b/nmux.cpp @@ -102,8 +102,8 @@ int main(int argc, char* argv[]) if(no_options) print_exit(help_text); if(!host_port) print_exit(MSG_START "missing required command line argument, --port.\n"); - if(bufsize=<0) print_exit(MSG_START "invalid value for --bufsize (should be >0)\n"); - if(bufcnt=<0) print_exit(MSG_START "invalid value for --bufcnt (should be >0)\n"); + if(bufsize<=0) print_exit(MSG_START "invalid value for --bufsize (should be >0)\n"); + if(bufcnt<=0) print_exit(MSG_START "invalid value for --bufcnt (should be >0)\n"); //set signals struct sigaction sa;