SafeWrite( file, data, length );
/* write padding zeros */
- char *zeros[3] = { 0, 0, 0 };
- SafeWrite( file, zeros, ( ( length + 3 ) & ~3 ) - length );
+ SafeWrite( file, (const byte[3]){ 0, 0, 0 }, ( ( length + 3 ) & ~3 ) - length );
}
for ( i = beginArgs; i < endArgs; ++i )
{
+ if ( argv[i] == NULL ) {
+ continue;
+ }
if ( outpos != sentinel && i != beginArgs ) {
*outpos++ = ' ';
}