mirror of
https://github.com/sheumann/DiskBrowser.git
synced 2024-11-28 22:50:23 +00:00
Automatically connect to the network before doing a search.
This commit is contained in:
parent
d25ac1395b
commit
c963529943
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user