fixed output file name NULL pointer bug

git-svn-id: svn://anubis/fart/trunk@238 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
Josh Holtrop 2009-04-14 22:13:48 +00:00
parent 5264f1de7e
commit 95341049c8

View File

@ -38,7 +38,7 @@ int main(int argc, char * argv[])
const char * server_name = NULL; const char * server_name = NULL;
int server_port = 0; int server_port = 0;
unsigned char * data = NULL; unsigned char * data = NULL;
const char * output_file_name = NULL; const char * output_file_name = "fart.bmp";
static const struct option long_options[] = { static const struct option long_options[] = {
{ "output-file", required_argument, NULL, 'o' }, { "output-file", required_argument, NULL, 'o' },