Diff for /mqtt/src/mqttd.c between versions 1.1.1.1.2.6 and 1.1.1.1.2.7

version 1.1.1.1.2.6, 2011/11/30 01:06:30 version 1.1.1.1.2.7, 2011/12/01 00:10:18
Line 5 Line 5
   
   
 sl_config cfg;  sl_config cfg;
   sched_root_task_t *root;
 extern char compiled[], compiledby[], compilehost[];  extern char compiled[], compiledby[], compilehost[];
 int Verbose;  int Verbose;
   
Line 129  main(int argc, char **argv) Line 130  main(int argc, char **argv)
         else          else
                 VERB(1) printf("Start service in batch mode ...\n");                  VERB(1) printf("Start service in batch mode ...\n");
   
        Run();        if (!(root = schedBegin())) {
                 printf("Error:: scheduler #%d - %s\n", sched_GetErrno(), sched_GetError());
                 ret = 6;
                 goto end;
         }
   
           Run(sock);
   
           schedEnd(&root);
 end:  end:
         if (sock > STDERR_FILENO)          if (sock > STDERR_FILENO)
                 srv_Close(sock);                  srv_Close(sock);

Removed from v.1.1.1.1.2.6  
changed lines
  Added in v.1.1.1.1.2.7


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