diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-09-21 15:02:03 +0200 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2016-09-21 15:02:03 +0200 |
commit | d6cdd80c8c58e6fa66f1796275616d045f16fad6 (patch) | |
tree | 624d157cc68c24f492e5e0f2d92653dabe360398 /test_brandt.c | |
parent | b31da162a85e993e8bb4287db9b5d8bc6ef2e53f (diff) | |
download | libbrandt-d6cdd80c8c58e6fa66f1796275616d045f16fad6.tar.gz libbrandt-d6cdd80c8c58e6fa66f1796275616d045f16fad6.zip |
minor style fix
Diffstat (limited to 'test_brandt.c')
-rw-r--r-- | test_brandt.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/test_brandt.c b/test_brandt.c index 077f6f1..e56f076 100644 --- a/test_brandt.c +++ b/test_brandt.c | |||
@@ -137,15 +137,14 @@ cb_result (void *auction_closure, | |||
137 | uint16_t *s = (uint16_t *)auction_closure; | 137 | uint16_t *s = (uint16_t *)auction_closure; |
138 | 138 | ||
139 | if (0 == results_len) | 139 | if (0 == results_len) |
140 | weprintf ("result determined by agent %d: none", *s); | 140 | weprintf ("result from agent %d: none", *s); |
141 | 141 | ||
142 | for (uint16_t i = 0; i < results_len; i++) | 142 | for (uint16_t i = 0; i < results_len; i++) |
143 | weprintf ( | 143 | weprintf ("result from agent %d: bidder %d got status %d with price %d", |
144 | "result determined by agent %d: bidder %d got status %d with price %d", | 144 | *s, |
145 | *s, | 145 | results[i].bidder, |
146 | results[i].bidder, | 146 | results[i].status, |
147 | results[i].status, | 147 | results[i].price); |
148 | results[i].price); | ||
149 | } | 148 | } |
150 | 149 | ||
151 | 150 | ||