Author Topic: uhm, a little bit coding trouble ;(  (Read 2601 times)

Anonymous Coward

  • Guest
uhm, a little bit coding trouble ;(
« on: October 24, 2001, 09:46:00 pm »
i've tried to port the dccdeny system from Un***l :wink: to uircd 3.1.7a. and get some compile errors:
s_dcc.c: In function `dcc_add_fline':
s_dcc.c:600: warning: control reaches end of non-void function
s_dcc.c: In function `m_dccdeny':
s_dcc.c:799: warning: control reaches end of non-void function
s_dcc.c: In function `m_undccdeny':
s_dcc.c:838: warning: control reaches end of non-void function
s_dcc.c: In function `m_svsfline':
s_dcc.c:882: warning: control reaches end of non-void function
---
i dont want to fill up this topic with hundret lines of code, i'm sure you know the main src from this system, if it not so i'll send you the src if you want to help me.
...i have no idea whats wrong :sad:


Anonymous Coward

  • Guest
uhm, a little bit coding trouble ;(
« Reply #1 on: October 24, 2001, 10:33:00 pm »
whop, okay, it works, forgot some return 0;'s

Offline ShadowMaster

  • Chief Codemonkey
  • Administrator
  • ********
  • Posts: 3136
    • View Profile
    • http://www.shadow-realm.org/
uhm, a little bit coding trouble ;(
« Reply #2 on: October 25, 2001, 06:25:00 pm »
Hehe, yup.. need to return a value :smile:
Search before posting - No support by PM or IM