22 lines
575 B
Plaintext
22 lines
575 B
Plaintext
$OpenBSD: patch-server_c,v 1.2 2005/03/02 20:13:23 robert Exp $
|
|
--- server.c.orig Mon Feb 7 02:29:11 2005
|
|
+++ server.c Wed Mar 2 20:57:00 2005
|
|
@@ -403,7 +403,7 @@
|
|
|
|
while(sbuf_getlength(&ls->sendq) > 0)
|
|
{
|
|
- msg = sbuf_pagemap(&ls->sendq, &length);
|
|
+ msg = sbuf_pagemap(&ls->sendq, (size_t *)&length);
|
|
if(msg == NULL)
|
|
break; /*XXX*/
|
|
if(length <= 0)
|
|
@@ -1120,7 +1120,7 @@
|
|
|
|
while(sbuf_getlength(sendq) > 0)
|
|
{
|
|
- msg = sbuf_pagemap(sendq, &length);
|
|
+ msg = sbuf_pagemap(sendq, (size_t *)&length);
|
|
if(msg == NULL)
|
|
break; /*XXX*/
|
|
if(length <= 0)
|