From 2ffadc256f7d7e5f0c3fc5f58aef4191eaa2607b Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Fri, 15 May 2015 19:14:24 -0400 Subject: stuff --- src/sell.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/sell.c') diff --git a/src/sell.c b/src/sell.c index e490711..af4a9aa 100644 --- a/src/sell.c +++ b/src/sell.c @@ -19,7 +19,9 @@ void sell_handler(struct player_t *player) return; } - update_handler(player); + printf("Updating prices...\n"); + + get_stock_info(stock->symbol, &stock->current_price, &stock->fullname); printf("You currently own %llu shares of '%s' (%s) valued at $%llu.%02llu each.\n", stock->count, stock->fullname, stock->symbol, stock->current_price.cents / 100, stock->current_price.cents % 100); -- cgit v1.1