diff options
Diffstat (limited to 'articles.c')
-rw-r--r-- | articles.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,7 @@ #include "articles.h" +#ifdef CONFIG_ARTICLES + //TODO add checkout on size of art it will fix, // warn about cutted images int bbs_article( term_screen *ts, const char *fname ) @@ -26,7 +28,7 @@ int bbs_article( term_screen *ts, const char *fname ) max_y = 24; } - bbs_log_article( NULL ); + bbs_log_article( fname ); if ( fname != NULL ) { @@ -161,7 +163,6 @@ int bbs_article_list( term_screen *ts, const char *dir_name ) if ( path_node.st_mode & S_IFREG ) { llist_push( dir_list, cnct_path ); - printf("-->%s\n", cnct_path); } } } @@ -236,3 +237,5 @@ int bbs_article_list( term_screen *ts, const char *dir_name ) return ret; } + +#endif |