Compare commits

..

No commits in common. "c6bbfcac10dd87e7f3cd1a755942dbc662e0ad3b" and "3e6d29d918a51cf36efac1512e08b96787031d90" have entirely different histories.

4 changed files with 2 additions and 13 deletions

3
.gitmodules vendored
View File

@ -1,3 +0,0 @@
[submodule "source/sandia"]
path = source/sandia
url = https://git.donut.eu.org/nez/sandia-Wii.git

View File

@ -17,7 +17,7 @@ include $(DEVKITPPC)/wii_rules
#---------------------------------------------------------------------------------
TARGET := $(notdir $(CURDIR))
BUILD := build
SOURCES := source source/sandia
SOURCES := source
DATA := data
INCLUDES :=

View File

@ -4,8 +4,6 @@
#include <network.h>
#include <wiiuse/wpad.h>
#include "sandia/sandia.h"
static void *xfb = NULL;
static GXRModeObj *rmode = NULL;
@ -76,12 +74,7 @@ int main(int argc, char **argv) {
logprint(1, "Initialized successfully!\n");
logprint(0, "Your Wii's IP address is ");
printf("%s.\n", localip);
sandia req = sandia_create("libreshop.donut.eu.org", 80);
sandia_response res = sandia_get_request(&req, "/");
printf("\n%s\n", res.body);
sandia_close(&req);
} else {
} else {
logprint(0, "Network configuration failed :(\n");
}

@ -1 +0,0 @@
Subproject commit 9b383cdda825ab4ba2767102b06cbd5dc734dae9