projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
93fcb9e
)
fixed last commit #3
author
pk910
<philipp@zoelle1.de>
Fri, 12 Aug 2011 14:07:04 +0000
(16:07 +0200)
committer
pk910
<philipp@zoelle1.de>
Fri, 12 Aug 2011 14:07:04 +0000
(16:07 +0200)
IRCEvents.c
patch
|
blob
|
history
diff --git
a/IRCEvents.c
b/IRCEvents.c
index ba66e1640b1b0f315cfd928253911208f53abdc4..d2e8ac907414f1adfa15049b889ec9e5d2809ec7 100644
(file)
--- a/
IRCEvents.c
+++ b/
IRCEvents.c
@@
-74,11
+74,11
@@
void unbind_##NAME(FUNCTYPE *func) { \
}
#define FUNC_EVENT(NAME,FUNCTYPE,TYPE,PDECLARATION,PLIST) \
}
#define FUNC_EVENT(NAME,FUNCTYPE,TYPE,PDECLARATION,PLIST) \
-int event_##NAME
(PDECLARATION)
{ \
+int event_##NAME
PDECLARATION
{ \
struct binding *cbind; \
for(cbind = binds[TYPE]; cbind; cbind = next) { \
FUNCTYPE *func = cbind->func; \
struct binding *cbind; \
for(cbind = binds[TYPE]; cbind; cbind = next) { \
FUNCTYPE *func = cbind->func; \
- func
(PLIST)
; \
+ func
PLIST
; \
} \
return 1; \
}
} \
return 1; \
}