FS-2942 - At least display __FILE__ and __LINE__ properly so we can have more data

This commit is contained in:
Mathieu Rene 2011-01-21 11:32:14 -05:00
parent 2e18c5b4d9
commit 74de704973

View File

@ -584,7 +584,8 @@ static void launch_write_stream_thread(shout_context_t *context)
}
#define TC_BUFFER_SIZE 1024 * 32
#define MPGERROR() {err = "MPG123 Error at __FILE__:__LINE__."; mpg123err = mpg123_strerror(context->mh); goto error; }
#define STR(_x) #_x
#define MPGERROR() {err = "MPG123 Error at " __FILE__ " : " STR(__LINE__) "."; mpg123err = mpg123_strerror(context->mh); goto error; }
static switch_status_t shout_file_open(switch_file_handle_t *handle, const char *path)
{
shout_context_t *context;