Skip to content

Commit

Permalink
Closes SMB share connections on exit
Browse files Browse the repository at this point in the history
  • Loading branch information
raz0red committed Jan 18, 2020
1 parent 5d1b886 commit 126294c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion netprint/include/net_print.h
Expand Up @@ -11,7 +11,7 @@ int net_print_string(const char* file, int line, const char* format, ...);
int net_print_binary(int format, const void* binary, int len);

#define DEFAULT_NET_PRINT_PORT 5194
#define DEFAULT_NET_PRINT_HOST_IP "192.168.1.172"
#define DEFAULT_NET_PRINT_HOST_IP "192.168.1.165"

#ifdef __cplusplus
}
Expand Down
3 changes: 3 additions & 0 deletions src/wii_main.cpp
Expand Up @@ -988,6 +988,9 @@ int main(int argc, char* argv[]) {
free_resources();
}

// Stop SMB (if applicable)
void CloseShare();

#ifdef WII_NETTRACE
net_print_close();
#endif
Expand Down

0 comments on commit 126294c

Please sign in to comment.