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
Remove usage of xbt_assert[0-9].
[simgrid.git]
/
src
/
xbt
/
xbt_peer.c
diff --git
a/src/xbt/xbt_peer.c
b/src/xbt/xbt_peer.c
index
a462588
..
23d7ca4
100644
(file)
--- a/
src/xbt/xbt_peer.c
+++ b/
src/xbt/xbt_peer.c
@@
-32,7
+32,7
@@
xbt_peer_t xbt_peer_from_string(const char *peerport)
xbt_peer_t res = xbt_new(s_xbt_peer_t, 1);
char *name = xbt_strdup(peerport);
char *port_str = strchr(name, ':');
xbt_peer_t res = xbt_new(s_xbt_peer_t, 1);
char *name = xbt_strdup(peerport);
char *port_str = strchr(name, ':');
- xbt_assert
1
(port_str,
+ xbt_assert(port_str,
"argument of xbt_peer_from_string should be of form <peername>:<port>, it's '%s'",
peerport);
*port_str = '\0';
"argument of xbt_peer_from_string should be of form <peername>:<port>, it's '%s'",
peerport);
*port_str = '\0';