csdr: better error message on missing function, nmux: switching debug messages off
This commit is contained in:
parent
687f6423ed
commit
ada8a692d4
4 changed files with 7 additions and 7 deletions
5
csdr.c
5
csdr.c
|
@ -1917,8 +1917,9 @@ int main(int argc, char *argv[])
|
|||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
return badsyntax("function name given in argument 1 does not exist. Possible causes:\n- You mistyped the commandline.\n- You need to update csdr to a newer version (if available).");
|
||||
|
||||
fprintf(stderr,"csdr: function name given in argument 1 (%s) does not exist. Possible causes:\n- You mistyped the commandline.\n- You need to update csdr to a newer version (if available).", argv[1]);
|
||||
return -1;
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
Remove nmux repo, it will rather be part of csdr
|
||||
Try in OpenWebRX
|
||||
Add UDP support
|
||||
Evaluate performance against ncat
|
||||
Remove debug messages
|
||||
Document in csdr
|
||||
Document README.md
|
||||
Test with a limited number of people
|
||||
Announce on blog
|
||||
|
||||
|
|
2
nmux.h
2
nmux.h
|
@ -14,7 +14,7 @@
|
|||
#include "tsmpool.h"
|
||||
|
||||
#define MSG_START "nmux: "
|
||||
#define NMUX_DEBUG 1
|
||||
#define NMUX_DEBUG 0
|
||||
|
||||
typedef enum client_status_e
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include <vector>
|
||||
#include <pthread.h>
|
||||
|
||||
#define TSM_DEBUG 1
|
||||
#define TSM_DEBUG 0
|
||||
#if TSM_DEBUG == 1
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue