Skip to content

Commit 856b4f3

Browse files
committed
fix build
git-svn-id: https://svn.code.sf.net/p/vice-emu/code/trunk@45397 379a1393-f5fb-40a0-bcee-ef074d9b53f7
1 parent dbdbef6 commit 856b4f3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

vice/src/userport/userport_wic64.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,18 +1662,20 @@ static void cmd_wifi(int cmd)
16621662
int l = (wic64_protocol == WIC64_PROT_LEGACY) ? 0 : 1; /* kludge to make it compatible */
16631663

16641664
switch (cmd) {
1665-
case WIC64_CMD_SCAN_WIFI_NETWORKS:
1665+
case WIC64_CMD_SCAN_WIFI_NETWORKS: {
16661666
char rets[128];
16671667
char sep = l ? '\0' : '\1';
16681668
snprintf(rets, 127, "0%cvice-emulation%c65%c%c", sep, sep, sep, 0xff);
16691669
send_reply_revised(SUCCESS, "Success",
16701670
(uint8_t *) rets, 20+l,
16711671
NULL);
16721672
break;
1673-
case WIC64_CMD_IS_CONFIGURED:
1673+
}
1674+
case WIC64_CMD_IS_CONFIGURED: {
16741675
char r = '\0';
16751676
send_reply_revised(SUCCESS, "Success", (uint8_t *)&r, 1, NULL);
16761677
break;
1678+
}
16771679
case WIC64_CMD_CONNECT_WITH_SSID_STRING:
16781680
case WIC64_CMD_CONNECT_WITH_SSID_INDEX:
16791681
case WIC64_CMD_IS_CONNECTED:

0 commit comments

Comments
 (0)