Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix copyright headers
[simgrid.git] / src / gras / Transport / transport_plugin_file.c
index ca8aadf..c112bb3 100644 (file)
@@ -1,8 +1,7 @@
-/* $Id$ */
-
 /* File transport - send/receive a bunch of bytes from a file               */
 
-/* Copyright (c) 2004 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. The SimGrid Team.
+ * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -98,7 +97,7 @@ gras_socket_t gras_socket_client_from_file(const char *path)
          path,
          res->sd,
          res->incoming ? 'y' : 'n',
-         res->outgoing ? 'y' : 'n', res->is_master ? 'y' : 'n');
+         res->outgoing ? 'y' : 'n', res->accepting ? 'y' : 'n');
 
   xbt_dynar_push(((gras_trp_procdata_t)
                   gras_libdata_by_id(gras_trp_libdata_id))->sockets, &res);
@@ -138,7 +137,7 @@ gras_socket_t gras_socket_server_from_file(const char *path)
   DEBUG4("sd=%d in=%c out=%c accept=%c",
          res->sd,
          res->incoming ? 'y' : 'n',
-         res->outgoing ? 'y' : 'n', res->is_master ? 'y' : 'n');
+         res->outgoing ? 'y' : 'n', res->accepting ? 'y' : 'n');
 
   xbt_dynar_push(((gras_trp_procdata_t)
                   gras_libdata_by_id(gras_trp_libdata_id))->sockets, &res);