fixed an error where -c argument wasn't working for single files

This commit is contained in:
Paul Cruz 2017-07-11 10:23:25 -07:00
parent f918545491
commit 7ec5928626

View File

@ -2,7 +2,7 @@
#define PRINT(...) fprintf(stdout, __VA_ARGS__)
#define DEBUG(l, ...) { if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } }
#define FILE_CHUNK_SIZE 4 << 20
#define MAX_NUM_JOBS 2;
#define MAX_NUM_JOBS 2
#define stdinmark "/*stdin*\\"
#define stdoutmark "/*stdout*\\"
#define MAX_PATH 256
@ -612,6 +612,7 @@ int main(int argCount, const char* argv[])
break;
case 'c':
forceStdout = 1;
outFilename = stdoutmark;
break;
default:
DISPLAY("Error: invalid argument provided\n");