can't use NULL as a null character anymore

dev
Tom Early 4 years ago
parent bc3b87175f
commit e668ae9fc6

@ -49,7 +49,7 @@
#include "DStarDecode.h"
#include "QnetDVAP.h"
#define DVAP_VERSION "QnetDVAP-220429"
#define DVAP_VERSION "QnetDVAP-20307"
#define CALL_SIZE 8
#define IP_SIZE 15
@ -966,7 +966,7 @@ void CQnetDVAP::Run()
int main(int argc, char *argv[])
{
setvbuf(stdout, NULL, _IOLBF, 0);
printf("dvap_rptr VERSION %s\n", DVAP_VERSION);
printf("%s\n", DVAP_VERSION);
if (argc != 2)
{
@ -976,9 +976,9 @@ int main(int argc, char *argv[])
if ('-' == argv[1][0])
{
printf("\nQnetDVAP Version #%s Copyright (C) 2018-2020 by Thomas A. Early N7TAE\n", DVAP_VERSION);
printf("%s Copyright (C) 2018-2020 by Thomas A. Early N7TAE\n", DVAP_VERSION);
printf("QnetDVAP comes with ABSOLUTELY NO WARRANTY; see the LICENSE for details.\n");
printf("This is free software, and you are welcome to distribute it\nunder certain conditions that are discussed in the LICENSE file.\n\n");
printf("This is free software, and you are welcome to distribute it\nunder certain conditions that are discussed in the LICENSE file.\nS");
return EXIT_SUCCESS;
}
@ -993,7 +993,7 @@ int main(int argc, char *argv[])
int mod;
switch (*qn)
{
case NULL:
case 0:
mod = -1;
break;
case 'a':

@ -40,7 +40,7 @@
#include "DStarDecode.h"
#include "QnetDVRPTR.h"
#define DVRPTR_VERSION "QnetDVRPTR-526"
#define DVRPTR_VERSION "QnetDVRPTR-20307"
#define BAUD B115200
#define IP_SIZE 15
@ -1993,9 +1993,9 @@ int main(int argc, const char **argv)
if ('-' == argv[1][0])
{
printf("\nQnetDVRPTR Version #%s Copyright (C) 2018-2019 by Thomas A. Early N7TAE\n", DVRPTR_VERSION);
printf("%s Copyright (C) 2018-2019 by Thomas A. Early N7TAE\n", DVRPTR_VERSION);
printf("QnetDVRPTR comes with ABSOLUTELY NO WARRANTY; see the LICENSE for details.\n");
printf("This is free software, and you are welcome to distribute it\nunder certain conditions that are discussed in the LICENSE file.\n\n");
printf("This is free software, and you are welcome to distribute it\nunder certain conditions that are discussed in the LICENSE file.\n");
return 0;
}
@ -2010,7 +2010,7 @@ int main(int argc, const char **argv)
int mod;
switch (*qn)
{
case NULL:
case 0:
mod = -1;
break;
case 'a':

@ -45,7 +45,7 @@
#include "QnetConfigure.h"
#include "Timer.h"
#define ITAP_VERSION "QnetITAP-825"
#define ITAP_VERSION "QnetITAP-20307"
CQnetITAP::CQnetITAP(int mod)
: assigned_module(mod)
@ -744,9 +744,9 @@ int main(int argc, const char **argv)
if ('-' == argv[1][0])
{
printf("\nQnetITAP Version #%s Copyright (C) 2018-2019 by Thomas A. Early N7TAE\n", ITAP_VERSION);
printf("%s Copyright (C) 2018-2019 by Thomas A. Early N7TAE\n", ITAP_VERSION);
printf("QnetITAP comes with ABSOLUTELY NO WARRANTY; see the LICENSE for details.\n");
printf("This is free software, and you are welcome to distribute it\nunder certain conditions that are discussed in the LICENSE file.\n\n");
printf("This is free software, and you are welcome to distribute it\nunder certain conditions that are discussed in the LICENSE file.\n");
return 0;
}
@ -761,7 +761,7 @@ int main(int argc, const char **argv)
int assigned_module;
switch (*qn)
{
case NULL:
case 0:
assigned_module = -1;
break;
case 'a':

@ -44,7 +44,7 @@
#include "QnetModem.h"
#include "QnetConfigure.h"
#define MODEM_VERSION "QnetModem-708"
#define MODEM_VERSION "QnetModem-20307"
#define MAX_RESPONSES 30
const unsigned char FRAME_START = 0xE0U;
@ -944,10 +944,10 @@ int main(int argc, const char **argv)
if ('-' == argv[1][0])
{
printf("\nQnetModem Version %s Copyright (C) 2019 by Thomas A. Early N7TAE\n", MODEM_VERSION);
printf("%s Copyright (C) 2019 by Thomas A. Early N7TAE\n", MODEM_VERSION);
printf("QnetModem comes with ABSOLUTELY NO WARRANTY; see the LICENSE for details.\n");
printf("This is free software, and you are welcome to distribute it\n");
printf("under certain conditions that are discussed in the LICENSE file.\n\n");
printf("under certain conditions that are discussed in the LICENSE file.\n");
return 0;
}
@ -962,7 +962,7 @@ int main(int argc, const char **argv)
int assigned_module;
switch (*qn)
{
case NULL:
case 0:
assigned_module = -1;
break;
case 'a':

@ -36,7 +36,7 @@
#include "QnetTypeDefs.h"
#include "QnetConfigure.h"
#define RELAY_VERSION "210420"
#define RELAY_VERSION "QnetRelay-20307"
CQnetRelay::CQnetRelay(int mod) :
assigned_module(mod),
@ -453,9 +453,9 @@ int main(int argc, const char **argv)
if ('-' == argv[1][0])
{
printf("\nQnetRelay Version #%s Copyright (C) 2018-2021 by Thomas A. Early N7TAE\n", RELAY_VERSION);
printf("%s Copyright (C) 2018-2021 by Thomas A. Early N7TAE\n", RELAY_VERSION);
printf("QnetRelay comes with ABSOLUTELY NO WARRANTY; see the LICENSE for details.\n");
printf("This is free software, and you are welcome to distribute it\nunder certain conditions that are discussed in the LICENSE file.\n\n");
printf("This is free software, and you are welcome to distribute it\nunder certain conditions that are discussed in the LICENSE file.\n");
return 0;
}
@ -469,7 +469,7 @@ int main(int argc, const char **argv)
int module;
switch (*qn)
{
case NULL:
case 0:
module = -1;
break;
case 'a':

Loading…
Cancel
Save

Powered by TurnKey Linux.