aboutsummaryrefslogtreecommitdiff
path: root/src/info.c
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2015-05-17 17:16:15 -0400
committerFranklin Wei <git@fwei.tk>2015-05-17 17:16:15 -0400
commitc13b48095f91b6c277854b9970c59c82943af74f (patch)
treea9f9f0d9fdfa4c3158a50857c190393d5a2b03b5 /src/info.c
parentf1b434fd0e76d44056868ea4d2d8fd52138a663b (diff)
downloadmarket-sim-c13b48095f91b6c277854b9970c59c82943af74f.zip
market-sim-c13b48095f91b6c277854b9970c59c82943af74f.tar.gz
market-sim-c13b48095f91b6c277854b9970c59c82943af74f.tar.bz2
market-sim-c13b48095f91b6c277854b9970c59c82943af74f.tar.xz
functionize stuff, INTRODUCES MEMORY LEAKS
Diffstat (limited to 'src/info.c')
-rw-r--r--src/info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/info.c b/src/info.c
index ea79dd7..0fa66fe 100644
--- a/src/info.c
+++ b/src/info.c
@@ -4,7 +4,7 @@ void info_handler(struct player_t *player)
{
char *sym;
printf("Enter the ticker symbol of the stock to get information for: ");
- sym = get_ticker();
+ sym = read_ticker();
struct stock_t *stock = find_stock(player, sym);