Yet another mask fix
This commit is contained in:
parent
5071a2fcd4
commit
155ab39bf2
@ -194,7 +194,7 @@ int main(int argc, char* argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Change default mask
|
// Change default mask
|
||||||
umask(133);
|
umask(0);
|
||||||
|
|
||||||
// Establish the socket
|
// Establish the socket
|
||||||
sockfd = socket(AF_INET, SOCK_STREAM, 0);
|
sockfd = socket(AF_INET, SOCK_STREAM, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user