Can't compile product version.

This commit is contained in:
vraatikka
2013-06-27 16:54:54 +03:00
parent 5c271e1925
commit b26315cf24
3 changed files with 7 additions and 7 deletions

View File

@ -1221,7 +1221,7 @@ static void* thr_filewriter_fun(
mlist_node_t* node; mlist_node_t* node;
mlist_node_t* prev_node; mlist_node_t* prev_node;
int i; int i;
bool succp; ss_debug(bool succp;)
thr = (skygw_thread_t *)data; thr = (skygw_thread_t *)data;
fwr = (filewriter_t *)skygw_thread_get_data(thr); fwr = (filewriter_t *)skygw_thread_get_data(thr);
@ -1263,7 +1263,7 @@ static void* thr_filewriter_fun(
wb = (logfile_writebuf_t*)node->mlnode_data; wb = (logfile_writebuf_t*)node->mlnode_data;
writep = wb->wb_buf; writep = wb->wb_buf;
nbytes = strlen(writep); nbytes = strlen(writep);
succp = skygw_file_write(file, (void *)writep, nbytes); ss_debug(succp = )skygw_file_write(file, (void *)writep, nbytes);
ss_dassert(succp); ss_dassert(succp);
prev_node = node; prev_node = node;
node = node->mlnode_next; node = node->mlnode_next;

View File

@ -76,9 +76,9 @@
# define ss_debug(exp) # define ss_debug(exp)
# define ss_dfprintf(a, b, ...) # define ss_dfprintf(a, b, ...)
# define ss_dfflush # define ss_dfflush(s)
# define ss_dfwrite # define ss_dfwrite(a, b, c, d)
# define ss_dassert # define ss_dassert(exp)
# define ss_info_dassert(exp, info) # define ss_info_dassert(exp, info)
#endif /* SS_DEBUG */ #endif /* SS_DEBUG */

View File

@ -64,7 +64,7 @@ struct skygw_thread_st {
pthread_t sth_parent; pthread_t sth_parent;
pthread_t sth_thr; pthread_t sth_thr;
int sth_errno; int sth_errno;
#if defined(SS_DEBUG) #if defined(DEBUG)
skygw_thr_state_t sth_state; skygw_thr_state_t sth_state;
#endif #endif
char* sth_name; char* sth_name;