Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
raising errors now use logging and not printf. We thus need a default log channel...
[simgrid.git] / testsuite / gras / trp_tcp_client.c
index f12fe76..39a7d44 100644 (file)
@@ -11,7 +11,7 @@
 #include "gras.h"
 #include "gras/Transport/transport_interface.h"
 
-/*XBT_LOG_NEW_DEFAULT_CATEGORY(test);*/
+XBT_LOG_NEW_DEFAULT_CATEGORY(test,"Logging for this test");
 
 int main(int argc,char *argv[]) {
   gras_socket_t sock;
@@ -43,6 +43,6 @@ int main(int argc,char *argv[]) {
   fprintf(stderr,"===[CLIENT]=== Exiting successfully\n");
   gras_socket_close(sock);
    
-  xbt_exit();
+  gras_exit();
   return 0;
 }