Mercurial > pt1.oyama
changeset 154:578ebda88997
cosmetic changes.
author | Naoya OYAMA <naoya.oyama@gmail.com> |
---|---|
date | Sun, 02 Sep 2012 16:38:43 +0900 |
parents | e040d91c5cc7 |
children | 5d010d0ff6a1 |
files | src/recpt1.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/recpt1.c Sun Sep 02 02:28:05 2012 +0900 +++ b/src/recpt1.c Sun Sep 02 16:38:43 2012 +0900 @@ -73,7 +73,7 @@ f = fopen(filename, "r"); if(!f) { return channel_info_list; - } + } channel_info_list = malloc(sizeof(*channel_info_list)); if(!channel_info_list) return NULL; @@ -103,8 +103,8 @@ if (p == NULL) { /* FILE ERROR */ free(channel_info); - channel_info = NULL; - continue; + channel_info = NULL; + continue; } *p = '\0'; channel_info->tp = ++p;