Diff for /mqtt/src/Attic/mqtt.c between versions 1.1.1.1.2.28 and 1.1.1.1.2.29

version 1.1.1.1.2.28, 2011/12/14 12:45:30 version 1.1.1.1.2.29, 2011/12/14 15:09:31
Line 4 Line 4
 #include "client.h"  #include "client.h"
   
   
   io_enableDEBUG;
   
 sl_config cfg;  sl_config cfg;
 sqlite3 *acc, *pub;  sqlite3 *acc, *pub;
 FILE *logg;  FILE *logg;
 extern char compiled[], compiledby[], compilehost[];  extern char compiled[], compiledby[], compilehost[];
 static char szCfgName[MAXPATHLEN];  static char szCfgName[MAXPATHLEN];
int Verbose, Kill;intptr_t Kill;
   
 struct tagArgs *args;  struct tagArgs *args;
   
Line 155  main(int argc, char **argv) Line 157  main(int argc, char **argv)
                                 batch = 0;                                  batch = 0;
                                 break;                                  break;
                         case 'v':                          case 'v':
                                Verbose++;                                io_incDebug;
                                 break;                                  break;
                         case 'h':                          case 'h':
                         default:                          default:
Line 185  main(int argc, char **argv) Line 187  main(int argc, char **argv)
                 Usage();                  Usage();
                 return 1;                  return 1;
         }          }
        VERB(1) printf("Connecting to %s:%d ...\n", io_n2addr(&args->addr, &val), io_n2port(&args->addr));        ioVERBOSE(1) printf("Connecting to %s:%d ...\n", io_n2addr(&args->addr, &val), io_n2port(&args->addr));
   
         if (LoadConfig(szCfgName, &cfg)) {          if (LoadConfig(szCfgName, &cfg)) {
                 printf("Error:: can't load #%d - %s\n", cfg_GetErrno(), cfg_GetError());                  printf("Error:: can't load #%d - %s\n", cfg_GetErrno(), cfg_GetError());

Removed from v.1.1.1.1.2.28  
changed lines
  Added in v.1.1.1.1.2.29


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>