mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
18 lines
550 B
C++
18 lines
550 B
C++
--- MUTE/layers/messageRouting/test/testMessageRouter.cpp.orig Sat Jan 24 18:30:19 2004
|
|
+++ MUTE/layers/messageRouting/test/testMessageRouter.cpp Sat Jan 24 18:32:02 2004
|
|
@@ -21,12 +21,13 @@
|
|
#include <stdio.h>
|
|
|
|
|
|
-void messageHandler( char *inFromAddress, char *inToAddress, char *inBody,
|
|
+int messageHandler( char *inFromAddress, char *inToAddress, char *inBody,
|
|
void *inExtraArgument ) {
|
|
|
|
printf( "Got message from %s to %s:\n%s\n", inFromAddress,
|
|
inToAddress, inBody );
|
|
|
|
+ return (0);
|
|
}
|
|
|
|
|