]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/examples/reliable/r_publisher.c
updated email address - petr@smoliku.cz
[orte.git] / orte / examples / reliable / r_publisher.c
index 98ce8796f23b915ec1dd7fb3b628a64a288e000b..2e2139c6d631d3d822c168430c1dcbb64ac1d499 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                              
  *  --------------------------------------------------------------------
@@ -79,6 +79,10 @@ main(int argc, char *args[]) {
       sendCallBack,
       NULL,
       &repeating);
+  if (p == NULL) {
+    printf("ORTEPublicationCreate failed\n");
+    return 1;
+  }
   #ifndef CONFIG_ORTE_RT
   while(1) {
     ORTESleepMs(1000);