diff options
author | FreeArtMan <dos21h@gmail.com> | 2014-12-09 10:31:37 +0900 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2014-12-09 10:31:37 +0900 |
commit | a57c6bed8f6ab7d0f4355190c0cff7cd913da6a0 (patch) | |
tree | c8b85b9de364cb63678d05625bdff6a2cf12ecda /articles.c | |
parent | dc4bbe5366d6c733f9f77b7c9fee0cbba3e0d92b (diff) | |
download | microbbs-a57c6bed8f6ab7d0f4355190c0cff7cd913da6a0.tar.gz microbbs-a57c6bed8f6ab7d0f4355190c0cff7cd913da6a0.zip |
New planned functionality. Menuconfig support. Simple captcha.
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 |