bootstrap script merely creates package-version.txt , nothing else
authorArt Cancro <ajc@citadel.org>
Fri, 6 Apr 2018 19:09:33 +0000 (15:09 -0400)
committerArt Cancro <ajc@citadel.org>
Fri, 6 Apr 2018 19:09:33 +0000 (15:09 -0400)
textclient/bootstrap
textclient/messages.c
textclient/textclient.h

index c52d3c26b35fd40696a3bd45f3aab0663ed0d4d9..4224ed144f09ff608d4d4805f13e89403f05ef55 100755 (executable)
@@ -1,3 +1,4 @@
 #!/bin/sh
 
+grep '^#define CLIENT_VERSION' textclient.h | sed 's/[^0-9]*//g' >package-version.txt
 exit 0
index fe975c5e77dc560cf10e3741cf85746a8b16c0c8..c1c6a0a6e87c631cd5ae943cc6d10b6c2a5eb30e 100644 (file)
@@ -431,14 +431,20 @@ int read_message(CtdlIPC *ipc,
                return (0);
        }
 
-       if (dest) {
+       if (dest)
+       {
                fprintf(dest, "\n ");
-       } else {
+       }
+       else
+       {
                scr_printf("\n");
                if (pagin != 2)
+               {
                        scr_printf(" ");
+               }
        }
-       if (pagin == 1 && !dest) {
+       if (pagin == 1 && !dest)
+       {
                color(BRIGHT_CYAN);
        }
 
index 4b0aa5329cecd8632dad18f207c8f82fa75d5a67..671773226ec08a078bdb9c86953637442b69cd2e 100644 (file)
@@ -13,7 +13,7 @@
 #define        UDS                     "_UDS_"
 #define DEFAULT_HOST           "localhost"
 #define DEFAULT_PORT           "504"
-#define CLIENT_VERSION          918
+#define CLIENT_VERSION          919
 #define CLIENT_TYPE            0
 
 /* commands we can send to the stty_ctdl() routine */