From 7d910c6507ad9e65e5406dc5e70c9f1a3a91ec84 Mon Sep 17 00:00:00 2001 From: nishi Date: Sun, 25 Feb 2024 18:40:55 +0000 Subject: [PATCH] forgot to format git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@254 d27a3e52-49c5-7645-884c-6793ebffc270 --- Library/IRC.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/IRC.c b/Library/IRC.c index 142092e..95aef91 100644 --- a/Library/IRC.c +++ b/Library/IRC.c @@ -118,7 +118,7 @@ void __W3_IRC_Request(struct W3* w3) { phase = 0; void* funcptr = __W3_Get_Event(w3, "all"); if(funcptr != NULL) { - void (*func)(struct W3* w3, char* prefix, char* command, char* data) = (void (*)(struct W3* w3, char* prefix, char* command, char* data))funcptr; + void (*func)(struct W3 * w3, char* prefix, char* command, char* data) = (void (*)(struct W3 * w3, char* prefix, char* command, char* data)) funcptr; func(w3, prefix, command, params); } @@ -162,7 +162,7 @@ void __W3_IRC_Request(struct W3* w3) { } void* funcptr = __W3_Get_Event(w3, "message"); if(funcptr != NULL) { - void (*func)(struct W3* w3, char* on, char* message) = (void (*)(struct W3* w3, char* from, char* message))funcptr; + void (*func)(struct W3 * w3, char* on, char* message) = (void (*)(struct W3 * w3, char* from, char* message)) funcptr; func(w3, username[0] == '#' ? username : prefix, content); } } @@ -173,7 +173,7 @@ void __W3_IRC_Request(struct W3* w3) { } else { void* funcptr = __W3_Get_Event(w3, "unknown"); if(funcptr != NULL) { - void (*func)(struct W3* w3, char* prefix, char* command, char* data) = (void (*)(struct W3* w3, char* prefix, char* command, char* data))funcptr; + void (*func)(struct W3 * w3, char* prefix, char* command, char* data) = (void (*)(struct W3 * w3, char* prefix, char* command, char* data)) funcptr; func(w3, prefix, command, params); } } -- 2.43.0