Previous 15994 Revisions Next

r15673 Wednesday 25th July, 2012 at 21:15:09 UTC by Firewave
forgot an unnecessary strlen() usage (no whatsnew)
[src/osd/windows]winsocket.c

src/osd/windows/winsocket.c
r15672r15673
6060
6161bool win_check_socket_path(const char *path)
6262{
63   if (strlen(winfile_socket_identifier) > 0 &&
63   if (*winfile_socket_identifier != 0 &&
6464      strncmp(path, winfile_socket_identifier, strlen(winfile_socket_identifier)) == 0 &&
6565      strchr(path, ':') != NULL) return true;
6666   return false;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team