| Changing the fallback error to something meaningful. - geomyidae - A small C-ba… | |
| git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfri… | |
| Log | |
| Files | |
| Refs | |
| Tags | |
| README | |
| LICENSE | |
| --- | |
| commit fc1097d34bbf1c47b7f33275a8657d6d920e3a6a | |
| parent 4d89b560595076c8994896195fbcd196460987dc | |
| Author: Christoph Lohmann <[email protected]> | |
| Date: Thu, 30 Aug 2018 21:32:06 +0200 | |
| Changing the fallback error to something meaningful. | |
| Thanks to Evil_Bob I found this out. | |
| Diffstat: | |
| M main.c | 3 ++- | |
| 1 file changed, 2 insertions(+), 1 deletion(-) | |
| --- | |
| diff --git a/main.c b/main.c | |
| @@ -506,7 +506,8 @@ main(int argc, char *argv[]) | |
| } | |
| } | |
| if (listfd < 0) { | |
| - perror("You did not specify a TCP port."); | |
| + fprintf(stderr, "Unable to got a binding socket. " | |
| + "Look at bindip and the tcp port.\n"); | |
| return 1; | |
| } | |