]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/examples/reliable/r_subscriber_besteffort.c
updated email address - petr@smoliku.cz
[orte.git] / orte / examples / reliable / r_subscriber_besteffort.c
index 5ab3345b17d999de1282c8a722e1cf9463983175..8ebafb8f97865204539fa780a8a9da113553f5bd 100644 (file)
@@ -12,7 +12,7 @@
  *                      http://dce.felk.cvut.cz                       
  *                      http://www.ocera.org                          
  *                                                                    
- *  Author:             Petr Smolik    petr.smolik@wo.cz             
+ *  Author:             Petr Smolik    petr@smoliku.cz             
  *  Advisor:            Pavel Pisa                                   
  *  Project Responsible: Zdenek Hanzalek                              
  *  --------------------------------------------------------------------
@@ -81,6 +81,10 @@ main(int argc, char *args[]) {
        recvCallBack,
        NULL,
        IPADDRESS_INVALID);
+  if (s == NULL) {
+    printf("ORTESubscriptionCreate failed\n");
+    return 1;
+  }
   #ifndef CONFIG_ORTE_RT
   while (1) 
     ORTESleepMs(1000);