A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ensure that the create_resource functions do call strdup by themselves
[simgrid.git]
/
src
/
surf
/
network.c
diff --git
a/src/surf/network.c
b/src/surf/network.c
index
8984b41
..
2d4158c
100644
(file)
--- a/
src/surf/network.c
+++ b/
src/surf/network.c
@@
-155,7
+155,7
@@
static double (*bandwidth_constraint_callback) (double, double, double) =
&constant_bandwidth_constraint;
-static void* net_create_resource(char *name,
+static void* net_create_resource(c
onst c
har *name,
double bw_initial,
tmgr_trace_t bw_trace,
double lat_initial,