diff options
author | fcolin | 2005-08-10 15:35:41 +0000 |
---|---|---|
committer | fcolin | 2005-08-10 15:35:41 +0000 |
commit | 928fff1cc4ade58e3b361d2c3e69be1d06b7a32c (patch) | |
tree | 143314349aab4682033a05cba611c5beb8e8531c | |
parent | c271c5a2383450c2a39e126ebef38d8dd2e2f8e6 (diff) | |
download | ivy-c-928fff1cc4ade58e3b361d2c3e69be1d06b7a32c.zip ivy-c-928fff1cc4ade58e3b361d2c3e69be1d06b7a32c.tar.gz ivy-c-928fff1cc4ade58e3b361d2c3e69be1d06b7a32c.tar.bz2 ivy-c-928fff1cc4ade58e3b361d2c3e69be1d06b7a32c.tar.xz |
bug recuperation arguments
-rwxr-xr-x | src/ivyperf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ivyperf.c b/src/ivyperf.c index f0ad069..9eb5c02 100755 --- a/src/ivyperf.c +++ b/src/ivyperf.c @@ -58,7 +58,7 @@ void Reply (IvyClientPtr app, void *user_data, IvyArgument args) int len; void* val; arg = IvyArgumentGetChildrens( args ); - IvyArgumentGetValue( args , &len, &val); + IvyArgumentGetValue( arg , &len, &val); IvySendMsg ("pong ts=%.*s tr=%f", len, val, currentTime()); } void Pong (IvyClientPtr app, void *user_data, IvyArgument args) @@ -71,10 +71,10 @@ void Pong (IvyClientPtr app, void *user_data, IvyArgument args) current = currentTime(); arg = IvyArgumentGetChildrens( args ); - IvyArgumentGetValue( args , &len, &val); + IvyArgumentGetValue( arg , &len, &val); ts = atof( val ); arg = IvyArgumentGetNextChild( arg ); - IvyArgumentGetValue( args , &len, &val); + IvyArgumentGetValue( arg , &len, &val); tr = atof( val ); roundtrip1 = tr-ts; roundtrip2 = current - tr; |