M ip/ip.h => ip/ip.h +1 -1
@@ 147,7 147,7 @@ struct Iplifc
Iplifc *next;
};
-/* binding twixt Ipself and Ipifc */
+/* binding twixt Ipself and Iplifc */
struct Iplink
{
Ipself *self;
M pc/etherwavelan.c => pc/etherwavelan.c +1 -1
@@ 1136,7 1136,7 @@ ctl(Ether* ether, void* buf, long n)
error("port type not in [1-3]");
ctlr->ptype = i;
}
- else if(strcmp(cb->f[0], "key") == 0){
+ else if(strncmp(cb->f[0], "key", 3) == 0){
strncpy(k,cb->f[0],64);
if (strcmp(cb->f[1], "off") == 0)
ctlr->keyid = 0;
M pc/screen.c => pc/screen.c +1 -1
@@ 73,7 73,7 @@ screensize(int x, int y, int z, ulong chan)
return -1;
/* memset(gscreen->data->bdata, 0x15, (x*y*z+7)/8); /* RSC BUG */
- memfillcolor(gscreen, DRed);
+// memfillcolor(gscreen, DRed);
scr->palettedepth = 6; /* default */
scr->gscreendata = &gscreendata;