mirror of
https://github.com/sheumann/DiskBrowser.git
synced 2025-08-15 08:27:22 +00:00
Automatically connect to the network before doing a search.
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
#include <quickdraw.h>
|
#include <quickdraw.h>
|
||||||
#include <qdaux.h>
|
#include <qdaux.h>
|
||||||
#include <window.h>
|
#include <window.h>
|
||||||
|
#include <tcpip.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@@ -54,6 +55,8 @@ void DoSearch(boolean getMore) {
|
|||||||
|
|
||||||
WaitCursor();
|
WaitCursor();
|
||||||
|
|
||||||
|
TCPIPConnect(NULL);
|
||||||
|
|
||||||
if (!getMore) {
|
if (!getMore) {
|
||||||
FreeJSON();
|
FreeJSON();
|
||||||
GetLETextByID(window, searchLine, (StringPtr)&queryBuf);
|
GetLETextByID(window, searchLine, (StringPtr)&queryBuf);
|
||||||
|
Reference in New Issue
Block a user