![]() |
![]() |
|
![]() | #1 | |
Çevrimdışı ![]() IF Ticaret Sayısı: (0) | Cevap: Online Kullanici ve Kullanici Rekoru modules/chanserv/main.c:269: warning: no previous prototype for 'ago_time' modules/chanserv/main.c: In function 'do_info': modules/chanserv/main.c:902: error: redefinition of 'now' modules/chanserv/main.c:901: error: previous definition of 'now' was here make[4]: *** [.compiled-main.o] Error 1 hatalı eksik birsey var. ---------- /************************************************** ***********************/ /* Return a /WHOIS response for ChanServ. */ static int chanserv_whois(const char *source, char *who, char *extra) { if (irc_stricmp(who, s_ChanServ) != 0) return 0; send_cmd(ServerName, "311 %s %s %s %s * :%s", source, who, ServiceUser, ServiceHost, desc_ChanServ); send_cmd(ServerName, "312 %s %s %s :%s", source, who, ServerName, ServerDesc); send_cmd(ServerName, "318 End of /WHOIS response."); return 1; } void ago_time(char *buf, time_t t, User *u) { int days, hours, minutes, seconds; days = t/(24*3600); t %= 24*3600; hours = t/3600; t %= 3600; minutes = t/60; t %= 60; seconds = t; sprintf(buf,"%dgün,%dsaat,%ddakika ve %dsaniye önce", days, hours, minutes, seconds); } bu sekilde kodlama ama hata veriyor diyeyim.
__________________ Dijital varlığımın, zihinsel yansıması. | |
| ![]() |
![]() |
Etiketler |
kullanici, rekoru, ve |
Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir) | |
| |
![]() | ||||
Konu | Konuyu Başlatan | Forum | Cevaplar | Son Mesaj |
IF Kullanici Buluşmasi | Kungiman | IF Ekstra | 6 | 25 Haziran 2010 18:14 |
Linux [ Kullanici islemleri ] | Silencer | GNU, Linux ve UNIX | 0 | 18 Aralık 2007 05:17 |
kullanici listeleme | aias | mIRC Scripting Sorunları | 2 | 11 Mart 2006 19:01 |