Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- anthony@anthony-KY811AA-ABA-e9120y:~$ cd
- anthony@anthony-KY811AA-ABA-e9120y:~$ mkdir iroffer
- anthony@anthony-KY811AA-ABA-e9120y:~$ cd iroffer/
- anthony@anthony-KY811AA-ABA-e9120y:~/iroffer$ wget http://iroffer.dinoex.net/iroffer-dinoex-3.30.tar.gz
- --2016-06-10 17:08:42-- http://iroffer.dinoex.net/iroffer-dinoex-3.30.tar.gz
- Resolving iroffer.dinoex.net (iroffer.dinoex.net)... 2a01:4f8:100:6061::18, 188.40.204.28
- Connecting to iroffer.dinoex.net (iroffer.dinoex.net)|2a01:4f8:100:6061::18|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 541131 (528K) [application/x-gzip]
- Saving to: ‘iroffer-dinoex-3.30.tar.gz’
- iroffer-dinoex-3.30 100%[===================>] 528.45K 724KB/s in 0.7s
- 2016-06-10 17:08:43 (724 KB/s) - ‘iroffer-dinoex-3.30.tar.gz’ saved [541131/541131]
- anthony@anthony-KY811AA-ABA-e9120y:~/iroffer$ tar -xvzf iroffer-dinoex-3.30.tar.gz
- iroffer-dinoex-3.30/
- iroffer-dinoex-3.30/src/
- iroffer-dinoex-3.30/mrtg/
- iroffer-dinoex-3.30/htdocs/
- iroffer-dinoex-3.30/freebsd/
- iroffer-dinoex-3.30/doc/
- iroffer-dinoex-3.30/dtd/
- iroffer-dinoex-3.30/Configure~
- iroffer-dinoex-3.30/xdcc.7
- iroffer-dinoex-3.30/fr.txt
- iroffer-dinoex-3.30/beispiel.config
- iroffer-dinoex-3.30/dynip.sh
- iroffer-dinoex-3.30/en.txt
- iroffer-dinoex-3.30/de.txt
- iroffer-dinoex-3.30/footer.html
- iroffer-dinoex-3.30/help-admin-de.txt
- iroffer-dinoex-3.30/header.html
- iroffer-dinoex-3.30/help-admin-en.txt
- iroffer-dinoex-3.30/help-admin-it.txt
- iroffer-dinoex-3.30/iroffer.1
- iroffer-dinoex-3.30/iroffer.cron
- iroffer-dinoex-3.30/sample.config
- iroffer-dinoex-3.30/it.txt
- iroffer-dinoex-3.30/README
- iroffer-dinoex-3.30/cygwin-install-upnp.sh
- iroffer-dinoex-3.30/exemple.config
- iroffer-dinoex-3.30/help-admin-fr.txt
- iroffer-dinoex-3.30/ruby-sample.rb
- iroffer-dinoex-3.30/README.modDinoex
- iroffer-dinoex-3.30/Configure
- iroffer-dinoex-3.30/LICENSE
- iroffer-dinoex-3.30/Lang
- iroffer-dinoex-3.30/THANKS
- iroffer-dinoex-3.30/LIESMICH.modDinoex
- iroffer-dinoex-3.30/TODO
- iroffer-dinoex-3.30/cygwin-gen-dist.sh
- iroffer-dinoex-3.30/dtd/catalog
- iroffer-dinoex-3.30/dtd/catalog.xml
- iroffer-dinoex-3.30/dtd/xml1.dcl
- iroffer-dinoex-3.30/dtd/iroffer-10.dtd
- iroffer-dinoex-3.30/dtd/iroffer-model-10.mod
- iroffer-dinoex-3.30/doc/INSTALL-linux-en.html
- iroffer-dinoex-3.30/doc/INSTALL-linux-fr.html
- iroffer-dinoex-3.30/doc/INSTALL-vhost-de.html
- iroffer-dinoex-3.30/doc/INSTALL-vhost-fr.html
- iroffer-dinoex-3.30/doc/iroffer.1.txt
- iroffer-dinoex-3.30/doc/iroffer.1.ps
- iroffer-dinoex-3.30/doc/iroffer.1.html
- iroffer-dinoex-3.30/doc/INSTALL-vhost-en.html
- iroffer-dinoex-3.30/doc/INSTALL-linux-de.txt
- iroffer-dinoex-3.30/doc/INSTALL-linux-it.html
- iroffer-dinoex-3.30/doc/INSTALL-linux-en.txt
- iroffer-dinoex-3.30/doc/INSTALL-linux-fr.txt
- iroffer-dinoex-3.30/doc/INSTALL-linux-it.txt
- iroffer-dinoex-3.30/doc/INSTALL-vhost-de.txt
- iroffer-dinoex-3.30/doc/INSTALL-vhost-en.txt
- iroffer-dinoex-3.30/doc/INSTALL-vhost-fr.txt
- iroffer-dinoex-3.30/doc/xdcc.7.txt
- iroffer-dinoex-3.30/doc/xdcc.7.ps
- iroffer-dinoex-3.30/doc/INSTALL-linux-de.html
- iroffer-dinoex-3.30/doc/xdcc.7.html
- iroffer-dinoex-3.30/freebsd/iroffer.freebsd
- iroffer-dinoex-3.30/htdocs/sfv.txt.rb
- iroffer-dinoex-3.30/htdocs/iroffer-state.css
- iroffer-dinoex-3.30/htdocs/robots.txt
- iroffer-dinoex-3.30/htdocs/md5.txt.rb
- iroffer-dinoex-3.30/htdocs/info.txt.rb
- iroffer-dinoex-3.30/htdocs/json.txt.rb
- iroffer-dinoex-3.30/htdocs/parser.txt.rb
- iroffer-dinoex-3.30/mrtg/CVS/
- iroffer-dinoex-3.30/mrtg/bot-mrtg-sauger.sh
- iroffer-dinoex-3.30/mrtg/bot-mrtg-traffic.sh
- iroffer-dinoex-3.30/mrtg/history-mrtg-sauger.sh
- iroffer-dinoex-3.30/mrtg/history-mrtg-traffic.sh
- iroffer-dinoex-3.30/mrtg/CVS/Root
- iroffer-dinoex-3.30/mrtg/CVS/Repository
- iroffer-dinoex-3.30/mrtg/CVS/Entries
- iroffer-dinoex-3.30/src/iroffer_utilities.c
- iroffer-dinoex-3.30/src/blowfish.c
- iroffer-dinoex-3.30/src/blowfish.h
- iroffer-dinoex-3.30/src/crc32.c
- iroffer-dinoex-3.30/src/crc32.h
- iroffer-dinoex-3.30/src/dinoex_config.c
- iroffer-dinoex-3.30/src/dinoex_admin.h
- iroffer-dinoex-3.30/src/dinoex_badip.c
- iroffer-dinoex-3.30/src/dinoex_badip.h
- iroffer-dinoex-3.30/src/dinoex_upload.c
- iroffer-dinoex-3.30/src/dinoex_chat.h
- iroffer-dinoex-3.30/src/dinoex_config.h
- iroffer-dinoex-3.30/src/iroffer_admin.c
- iroffer-dinoex-3.30/src/dinoex_curl.h
- iroffer-dinoex-3.30/src/dinoex_geoip.c
- iroffer-dinoex-3.30/src/dinoex_geoip.h
- iroffer-dinoex-3.30/src/dinoex_queue.c
- iroffer-dinoex-3.30/src/dinoex_queue.h
- iroffer-dinoex-3.30/src/dinoex_admin.c
- iroffer-dinoex-3.30/src/plumb_md5.c
- iroffer-dinoex-3.30/src/dinoex_http.h
- iroffer-dinoex-3.30/src/dinoex_jobs.c
- iroffer-dinoex-3.30/src/dinoex_irc.h
- iroffer-dinoex-3.30/src/iroffer_main.c
- iroffer-dinoex-3.30/src/dinoex_jobs.h
- iroffer-dinoex-3.30/src/dinoex_http.c
- iroffer-dinoex-3.30/src/dinoex_main.h
- iroffer-dinoex-3.30/src/dinoex_misc.c
- iroffer-dinoex-3.30/src/dinoex_misc.h
- iroffer-dinoex-3.30/src/dinoex_curl.c
- iroffer-dinoex-3.30/src/iroffer_misc.c
- iroffer-dinoex-3.30/src/dinoex_kqueue.c
- iroffer-dinoex-3.30/src/dinoex_ruby.h
- iroffer-dinoex-3.30/src/dinoex_ssl.c
- iroffer-dinoex-3.30/src/dinoex_ssl.h
- iroffer-dinoex-3.30/src/dinoex_transfer.c
- iroffer-dinoex-3.30/src/dinoex_telnet.c
- iroffer-dinoex-3.30/src/dinoex_telnet.h
- iroffer-dinoex-3.30/src/dinoex_upload.h
- iroffer-dinoex-3.30/src/dinoex_transfer.h
- iroffer-dinoex-3.30/src/upnp.c
- iroffer-dinoex-3.30/src/dinoex_globals.h
- iroffer-dinoex-3.30/src/dinoex_statefile.c
- iroffer-dinoex-3.30/src/dinoex_user.h
- iroffer-dinoex-3.30/src/dinoex_main.c
- iroffer-dinoex-3.30/src/dinoex_utilities.c
- iroffer-dinoex-3.30/src/dinoex_ruby.c
- iroffer-dinoex-3.30/src/iroffer_dccchat.c
- iroffer-dinoex-3.30/src/iroffer_defines.h
- iroffer-dinoex-3.30/src/iroffer_display.c
- iroffer-dinoex-3.30/src/iroffer_globals.h
- iroffer-dinoex-3.30/src/dinoex_irc.c
- iroffer-dinoex-3.30/src/iroffer_headers.h
- iroffer-dinoex-3.30/src/iroffer_transfer.c
- iroffer-dinoex-3.30/src/iroffer_upload.c
- iroffer-dinoex-3.30/src/strnatcmp.c
- iroffer-dinoex-3.30/src/plumb_md5.h
- iroffer-dinoex-3.30/src/upnp.h
- iroffer-dinoex-3.30/src/strnatcmp.h
- iroffer-dinoex-3.30/src/dinoex_defines.h
- iroffer-dinoex-3.30/src/dinoex_chat.c
- iroffer-dinoex-3.30/src/dinoex_user.c
- iroffer-dinoex-3.30/src/dinoex_kqueue.h
- iroffer-dinoex-3.30/src/dinoex_utilities.h
- iroffer-dinoex-3.30/src/iroffer_statefile.c
- anthony@anthony-KY811AA-ABA-e9120y:~/iroffer$ cd iroffer-dinoex-3.30
- anthony@anthony-KY811AA-ABA-e9120y:~/iroffer/iroffer-dinoex-3.30$ ./Configure -curl -geoip -ruby
- Configuring for iroffer-dinoex 3.30
- Determining OS... LinuxConfiguring for GeoIP.
- Configuring for Curl.
- Checking for make... found make
- Checking for gcc/cc... found gcc
- Seeing if gcc works... yes
- Seeing if gcc accepts '-Wall'... yes
- Seeing if gcc accepts '-Werror'... no
- Seeing how to define a 16 bit integer... short
- Seeing how to define a 32 bit integer... int
- Seeing how to define a 64 bit integer... long
- Seeing if compiling with standard #include's works... yes
- Seeing how large FD_SETSIZE is... 1024
- Determining endianness... Little-Endian
- Seeing if large file support works... yes
- Determing the signedness of 'addrlen'... signed
- Seeing how to display 64bit using printf... L
- Seeing how to display time_t using printf... Li
- Checking for snprintf()... found
- Checking for strcasecmp()... found
- Checking for strcasestr()... found
- Checking for strsignal()... found
- Seeing if 'sys/mman.h' exists... found
- Seeing if 'sys/sendfile.h' exists... found
- Seeing if 'sys/vfs.h' exists... found
- Seeing if 'sys/statfs.h' exists... found
- Seeing if 'sys/param.h' exists... found
- Seeing if 'sys/mount.h' exists... found
- Seeing if 'sys/statvfs.h' exists... found
- Checking for statvfs()... found
- Checking for statfs()... found
- Seeing if 'crypt.h' is needed... not needed
- Seeing if '-lcrypt' is needed... needed
- Seeing if crypt() works as expected... yes
- Checking for chroot()... found
- Seeing if NSS library exists (for chroot)... found
- Checking for setuid()... found
- Checking for getgrouplist()... found
- Checking for Linux-style sendfile()... found
- Checking for mmap()/munmap()... found
- Checking for name of fd limit... RLIMIT_NOFILE
- Checking for siginfo_t/sa_sigaction... found
- Checking for 'si_code' values... found
- Checking for wait() status values... found
- Seeing if TOS can be set for IP sockets... yes
- Checking for getaddrinfo()... found
- Checking for gethostbyname() error values... found
- Checking for res_init() ... found
- Seeing if GeoIP library exists... found
- Seeing if has IPv6 support... found
- Seeing if libcurl library exists (for FETCH-Command)... found
- Notice: Your 'libcurl' is linked with OpenSSL.
- Seeing if OpenSSL library exists... found
- Configuring for OpenSSL.
- Seeing if libruby library exists (for RUBY-Scripts)... not found
- ***Disabled the RUBY-extension. If you want to use this feature, please install 'libruby'.***
- Creating src/iroffer_config.h... Done
- Creating Makefile... Done
- Type "make" to compile
- No errors or warnings should appear when compiling, if they do, something is wrong
- anthony@anthony-KY811AA-ABA-e9120y:~/iroffer/iroffer-dinoex-3.30$
- anthony@anthony-KY811AA-ABA-e9120y:~/iroffer/iroffer-dinoex-3.30$ make
- mkdir -p o.en
- touch o.en/.mkdir
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/iroffer_admin.o src/iroffer_admin.c
- src/iroffer_admin.c: In function ‘u_dcld’:
- src/iroffer_admin.c:901:21: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 4 has type ‘off_t {aka long int}’ [-Wformat=]
- " ^- %5.1fK/s %6" LLPRINTFMT "dK/%6" LLPRINTFMT "dK %2
- ^
- src/iroffer_admin.c:901:21: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 5 has type ‘off_t {aka long int}’ [-Wformat=]
- src/iroffer_admin.c:961:21: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 4 has type ‘off_t {aka long int}’ [-Wformat=]
- " ^- %5.1fK/s %6" LLPRINTFMT "dK/%6" LLPRINTFMT "dK %2
- ^
- src/iroffer_admin.c:961:21: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 5 has type ‘off_t {aka long int}’ [-Wformat=]
- src/iroffer_admin.c: In function ‘u_info’:
- src/iroffer_admin.c:1038:16: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 3 has type ‘off_t {aka long int}’ [-Wformat=]
- a_respond(u, " Filesize %" LLPRINTFMT "d [%sB]",
- ^
- src/iroffer_admin.c:1047:16: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
- a_respond(u, " Device/Inode %" LLPRINTFMT "u/%" LLPRINTFMT "u",
- ^
- src/iroffer_admin.c:1047:16: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
- src/iroffer_admin.c: In function ‘u_botinfo’:
- src/iroffer_admin.c:1602:25: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘ir_int64 {aka long int}’ [-Wformat=]
- u_respond(u, "transferlimit: %7s (ends %s): used %" LLPRINTFMT "uMB,
- ^
- src/iroffer_admin.c:1602:25: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘ir_int64 {aka long int}’ [-Wformat=]
- src/iroffer_admin.c:1609:25: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘ir_int64 {aka long int}’ [-Wformat=]
- u_respond(u, "transferlimit: %7s (ends %s): used %" LLPRINTFMT "uMB,
- ^
- src/iroffer_admin.c:1638:16: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 4 has type ‘off_t {aka long int}’ [-Wformat=]
- "%" LLPRINTFMT "dMB",
- ^
- src/iroffer_admin.c:1638:16: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 4 has type ‘off_t {aka long int}’ [-Wformat=]
- src/iroffer_admin.c: In function ‘u_memstat’:
- src/iroffer_admin.c:1931:28: warning: format ‘%Li’ expects argument of type ‘long long int’, but argument 7 has type ‘time_t {aka long int}’ [-Wformat=]
- a_respond(u, "%3u %3u | 0x%8.8lX | %6iB | %7" TTPRINTFMT "s | %s:
- ^
- src/iroffer_admin.c:1962:27: warning: format ‘%LX’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
- u_respond(u," %4i | 0x%8.8" LLPRINTFMT "X .. 0x%8.8" LLPRINTFMT "
- ^
- src/iroffer_admin.c:1962:27: warning: format ‘%LX’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]
- src/iroffer_admin.c: In function ‘u_trinfo’:
- src/iroffer_admin.c:2119:16: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 3 has type ‘off_t {aka long int}’ [-Wformat=]
- a_respond(u, "Start %" LLPRINTFMT "dK, Current %" LLPRINTFMT "dK, End %" LLPR
- ^
- src/iroffer_admin.c:2119:16: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 4 has type ‘off_t {aka long int}’ [-Wformat=]
- src/iroffer_admin.c:2119:16: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 5 has type ‘off_t {aka long int}’ [-Wformat=]
- src/iroffer_admin.c:2132:16: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 6 has type ‘off_t {aka long int}’ [-Wformat=]
- a_respond(u, "Min %s, Current %1.1fK/s, Max %s, In Transit %" LLPRINTFMT "dK"
- ^
- src/iroffer_admin.c:2169:19: warning: format ‘%LX’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
- u_respond(u,"MMAP: [%p] 0x%.8" LLPRINTFMT "X .. 0x%.8" LLPRINTFMT "X .. 0
- ^
- src/iroffer_admin.c:2169:19: warning: format ‘%LX’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]
- src/iroffer_admin.c:2169:19: warning: format ‘%LX’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘long unsigned int’ [-Wformat=]
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/iroffer_dccchat.o src/iroffer_dccchat.c
- src/iroffer_dccchat.c: In function ‘setupdccchataccept’:
- src/iroffer_dccchat.c:102:88: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness [-Wpointer-sign]
- ientsocket = accept(chat->con.listensocket, &(chat->con.remote.sa), &addrlen))
- ^
- In file included from /usr/include/netinet/in.h:23:0,
- from /usr/include/netdb.h:27,
- from src/iroffer_headers.h:29,
- from src/iroffer_dccchat.c:20:
- /usr/include/x86_64-linux-gnu/sys/socket.h:243:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’
- extern int accept (int __fd, __SOCKADDR_ARG __addr,
- ^
- src/iroffer_dccchat.c: In function ‘setupdccchat’:
- src/iroffer_dccchat.c:252:66: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness [-Wpointer-sign]
- if (getsockname(chat->con.clientsocket, &(chat->con.local.sa), &addrlen) < 0)
- ^
- In file included from /usr/include/netinet/in.h:23:0,
- from /usr/include/netdb.h:27,
- from src/iroffer_headers.h:29,
- from src/iroffer_dccchat.c:20:
- /usr/include/x86_64-linux-gnu/sys/socket.h:127:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’
- extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
- ^
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/iroffer_display.o src/iroffer_display.c
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/iroffer_main.o src/iroffer_main.c
- src/iroffer_main.c: In function ‘main’:
- <built-in>: warning: function declared ‘noreturn’ has a ‘return’ statement
- src/iroffer_main.c: In function ‘mainloop’:
- src/iroffer_main.c:407:31: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘ir_int64 {aka long int}’ [-Wformat=]
- "Resetting %s transfer limit, used %" LLPRINTFMT
- ^
- src/iroffer_main.c:407:31: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘ir_int64 {aka long int}’ [-Wformat=]
- src/iroffer_main.c:456:31: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘ir_int64 {aka long int}’ [-Wformat=]
- "All %" LLPRINTFMT "uMB of the %s transfer limit
- ^
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/iroffer_misc.o src/iroffer_misc.c
- src/iroffer_misc.c: In function ‘getstatusline’:
- src/iroffer_misc.c:1268:16: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 12 has type ‘ir_uint64 {aka long unsigned int}’ [-Wformat=]
- "Stat: %u/%u Sls, %u/%u Q, %u/%u I, %u/%u SrQ (Bdw: %" LLPRINTFM
- ^
- src/iroffer_misc.c:1285:16: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 10 has type ‘ir_uint64 {aka long unsigned int}’ [-Wformat=]
- "Stat: %u/%u Sls, %u/%u Q, %1.1fK/s Rcd, %u SrQ (Bdw: %" LLPRINT
- ^
- src/iroffer_misc.c: In function ‘getstatuslinenums’:
- src/iroffer_misc.c:1341:16: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 16 has type ‘ir_uint64 {aka long unsigned int}’ [-Wformat=]
- "stat %u %1.0f %u %1.0f %u %u %u %u %u %u %1.1f %u %" LLPRINTFMT
- ^
- src/iroffer_misc.c: In function ‘writepidfile’:
- src/iroffer_misc.c:663:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
- write(filedescriptor,tempstr2,strlen(tempstr2));
- ^
- src/iroffer_misc.c: In function ‘gobackground’:
- src/iroffer_misc.c:715:4: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result]
- dup(s); /* stdout */
- ^
- src/iroffer_misc.c:716:4: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result]
- dup(s); /* stderr */
- ^
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/iroffer_statefile.o src/iroffer_statefile.c
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/iroffer_transfer.o src/iroffer_transfer.c
- src/iroffer_transfer.c: In function ‘t_establishcon’:
- src/iroffer_transfer.c:69:77: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness [-Wpointer-sign]
- t->con.clientsocket = accept(t->con.listensocket, &t->con.local.sa, &addrlen))
- ^
- In file included from /usr/include/netinet/in.h:23:0,
- from /usr/include/netdb.h:27,
- from src/iroffer_headers.h:29,
- from src/iroffer_transfer.c:20:
- /usr/include/x86_64-linux-gnu/sys/socket.h:243:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’
- extern int accept (int __fd, __SOCKADDR_ARG __addr,
- ^
- src/iroffer_transfer.c: In function ‘t_setup_send’:
- src/iroffer_transfer.c:123:63: warning: pointer targets in passing argument 3 of ‘getpeername’ differ in signedness [-Wpointer-sign]
- if ((getpeername(t->con.clientsocket, &(t->con.remote.sa), &(addrlen))) < 0)
- ^
- In file included from /usr/include/netinet/in.h:23:0,
- from /usr/include/netdb.h:27,
- from src/iroffer_headers.h:29,
- from src/iroffer_transfer.c:20:
- /usr/include/x86_64-linux-gnu/sys/socket.h:141:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’
- extern int getpeername (int __fd, __SOCKADDR_ARG __addr,
- ^
- src/iroffer_transfer.c:133:62: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness [-Wpointer-sign]
- if ((getsockname(t->con.clientsocket, &(t->con.local.sa), &(addrlen))) < 0)
- ^
- In file included from /usr/include/netinet/in.h:23:0,
- from /usr/include/netdb.h:27,
- from src/iroffer_headers.h:29,
- from src/iroffer_transfer.c:20:
- /usr/include/x86_64-linux-gnu/sys/socket.h:127:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’
- extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
- ^
- src/iroffer_transfer.c: In function ‘t_transfersome’:
- src/iroffer_transfer.c:397:31: warning: format ‘%LX’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]
- "mmap() [%p] offset=0x%.8" LLPRINTFMT "X size=0x%
- ^
- src/iroffer_transfer.c:397:31: warning: format ‘%LX’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘long unsigned int’ [-Wformat=]
- src/iroffer_transfer.c: In function ‘t_readjunk’:
- src/iroffer_transfer.c:554:27: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 7 has type ‘off_t {aka long int}’ [-Wformat=]
- "XDCC [%02i:%s on %s]: Acknowleged %" LLPRINTFMT "d B
- ^
- src/iroffer_transfer.c: In function ‘t_flushed’:
- src/iroffer_transfer.c:615:16: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘ir_uint64 {aka long unsigned int}’ [-Wformat=]
- " %" LLPRINTFMT "u hr", timetookms/60/60/1000);
- ^
- src/iroffer_transfer.c:615:16: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘ir_uint64 {aka long unsigned int}’ [-Wformat=]
- src/iroffer_transfer.c:621:16: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘ir_uint64 {aka long unsigned int}’ [-Wformat=]
- " %" LLPRINTFMT "u min", (timetookms%(60*60*1000))/60/1000);
- ^
- src/iroffer_transfer.c:621:16: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘ir_uint64 {aka long unsigned int}’ [-Wformat=]
- src/iroffer_transfer.c:625:12: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘ir_uint64 {aka long unsigned int}’ [-Wformat=]
- " %" LLPRINTFMT "u.%03" LLPRINTFMT "u sec", (timetookms%(60*1000))/1
- ^
- src/iroffer_transfer.c:625:12: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘ir_uint64 {aka long unsigned int}’ [-Wformat=]
- src/iroffer_transfer.c:625:12: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘ir_uint64 {aka long unsigned int}’ [-Wformat=]
- src/iroffer_transfer.c:625:12: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘ir_uint64 {aka long unsigned int}’ [-Wformat=]
- src/iroffer_transfer.c:628:11: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 7 has type ‘off_t {aka long int}’ [-Wformat=]
- "XDCC [%02i:%s on %s]: Transfer Completed (%" LLPRINTFMT "d kB,%s, %0
- ^
- src/iroffer_transfer.c:635:11: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 7 has type ‘off_t {aka long int}’ [-Wformat=]
- "Log: Pack %u, Nick %s" ", Network %s" ", Sent %" LLPRINTFMT "d kB" "
- ^
- src/iroffer_transfer.c:635:11: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 8 has type ‘off_t {aka long int}’ [-Wformat=]
- src/iroffer_transfer.c:646:27: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 3 has type ‘off_t {aka long int}’ [-Wformat=]
- notice(t->nick, "** Transfer Completed (%" LLPRINTFMT "d kB,%s, %0.1f
- ^
- src/iroffer_transfer.c:654:27: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 3 has type ‘off_t {aka long int}’ [-Wformat=]
- notice(t->nick, "** Transfer Completed (%" LLPRINTFMT "d kB,%s, %0.1f
- ^
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/iroffer_upload.o src/iroffer_upload.c
- In file included from src/iroffer_defines.h:20:0,
- from src/iroffer_upload.c:19:
- src/iroffer_upload.c: In function ‘l_establishcon’:
- src/dinoex_defines.h:64:18: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 5 has type ‘__off_t {aka long int}’ [-Wformat=]
- #define IRC_CTCP "\1"
- ^
- src/iroffer_upload.c:57:29: note: in expansion of macro ‘IRC_CTCP’
- privmsg_fast(l->nick, IRC_CTCP "DCC RESUME %s %d %" LLPRINTFMT "d" IRC_CT
- ^
- src/iroffer_upload.c:112:61: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness [-Wpointer-sign]
- if (getsockname(l->con.clientsocket, &(l->con.remote.sa), &addrlen) < 0)
- ^
- In file included from /usr/include/netinet/in.h:23:0,
- from /usr/include/netdb.h:27,
- from src/iroffer_headers.h:29,
- from src/iroffer_upload.c:20:
- /usr/include/x86_64-linux-gnu/sys/socket.h:127:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’
- extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
- ^
- src/iroffer_upload.c: In function ‘l_transfersome’:
- src/iroffer_upload.c:245:15: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 4 has type ‘off_t {aka long int}’ [-Wformat=]
- "DCC Upload: Transfer Completed (%" LLPRINTFMT "d kB,%s, %0.1f kB
- ^
- src/iroffer_upload.c:257:15: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 6 has type ‘off_t {aka long int}’ [-Wformat=]
- "Upload: Nick %s" ", Network %s" ", Recv %" LLPRINTFMT "d kB" ",
- ^
- src/iroffer_upload.c:257:15: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 7 has type ‘off_t {aka long int}’ [-Wformat=]
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/plumb_md5.o src/plumb_md5.c
- src/plumb_md5.c: In function ‘MD5Final’:
- src/plumb_md5.c:142:23: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
- memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
- ^
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/dinoex_admin.o src/dinoex_admin.c
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/dinoex_main.o src/dinoex_main.c
- src/dinoex_main.c: In function ‘add_password’:
- src/dinoex_main.c:182:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
- write(fd, line, len);
- ^
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/dinoex_misc.o src/dinoex_misc.c
- src/dinoex_misc.c: In function ‘send_xdcc_file’:
- src/dinoex_misc.c:545:11: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 6 has type ‘off_t {aka long int}’ [-Wformat=]
- "Send: %s to %s bytes=%" LLPRINTFMT "d",
- ^
- src/dinoex_misc.c: In function ‘disk_full’:
- src/dinoex_misc.c:661:12: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 4 has type ‘off_t {aka long int}’ [-Wformat=]
- "disk_free= %" LLPRINTFMT "d, required= %" LLPRINTFMT "d",
- ^
- src/dinoex_misc.c:661:12: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 5 has type ‘off_t {aka long int}’ [-Wformat=]
- src/dinoex_misc.c: In function ‘transfer_limit_exceeded_msg’:
- src/dinoex_misc.c:804:13: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘ir_int64 {aka long int}’ [-Wformat=]
- "Sorry, I have exceeded my %s transfer limit of %" LLPRINTFMT "uMB.
- ^
- src/dinoex_misc.c:804:13: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘ir_int64 {aka long int}’ [-Wformat=]
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/dinoex_http.o src/dinoex_http.c
- src/dinoex_http.c: In function ‘h_write_status’:
- src/dinoex_http.c:838:27: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘off_t {aka long int}’ [-Wformat=]
- "Content-Range: bytes %" LLPRINTFMT "u-%" LLPRINTFMT
- ^
- src/dinoex_http.c:838:27: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘off_t {aka long int}’ [-Wformat=]
- src/dinoex_http.c:838:27: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘off_t {aka long int}’ [-Wformat=]
- src/dinoex_http.c: In function ‘h_accept’:
- src/dinoex_http.c:928:59: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness [-Wpointer-sign]
- clientsocket = accept(http_listen[i], &remoteaddr.sa, &addrlen);
- ^
- In file included from /usr/include/netinet/in.h:23:0,
- from /usr/include/netdb.h:27,
- from src/iroffer_headers.h:29,
- from src/dinoex_http.c:19:
- /usr/include/x86_64-linux-gnu/sys/socket.h:243:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’
- extern int accept (int __fd, __SOCKADDR_ARG __addr,
- ^
- src/dinoex_http.c:931:59: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness [-Wpointer-sign]
- clientsocket = accept(http_listen[i], &remoteaddr.sa, &addrlen);
- ^
- In file included from /usr/include/netinet/in.h:23:0,
- from /usr/include/netdb.h:27,
- from src/iroffer_headers.h:29,
- from src/dinoex_http.c:19:
- /usr/include/x86_64-linux-gnu/sys/socket.h:243:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’
- extern int accept (int __fd, __SOCKADDR_ARG __addr,
- ^
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/dinoex_upload.o src/dinoex_upload.c
- In file included from src/iroffer_defines.h:20:0,
- from src/dinoex_upload.c:18:
- src/dinoex_upload.c: In function ‘l_setup_listen’:
- src/dinoex_defines.h:64:18: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 5 has type ‘off_t {aka long int}’ [-Wformat=]
- #define IRC_CTCP "\1"
- ^
- src/dinoex_upload.c:130:25: note: in expansion of macro ‘IRC_CTCP’
- privmsg_fast(l->nick, IRC_CTCP "DCC SEND %s %s %" LLPRINTFMT "d %u" IRC_CTCP,
- ^
- src/dinoex_upload.c: In function ‘l_setup_passive’:
- src/dinoex_defines.h:64:18: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 5 has type ‘__off_t {aka long int}’ [-Wformat=]
- #define IRC_CTCP "\1"
- ^
- src/dinoex_upload.c:169:29: note: in expansion of macro ‘IRC_CTCP’
- privmsg_fast(l->nick, IRC_CTCP "DCC RESUME %s %d %" LLPRINTFMT "d %u" IRC
- ^
- src/dinoex_upload.c: In function ‘l_setup_accept’:
- src/dinoex_upload.c:194:79: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness [-Wpointer-sign]
- con.clientsocket = accept(l->con.listensocket, &(l->con.remote.sa), &addrlen))
- ^
- In file included from /usr/include/netinet/in.h:23:0,
- from /usr/include/netdb.h:27,
- from src/iroffer_headers.h:29,
- from src/dinoex_upload.c:19:
- /usr/include/x86_64-linux-gnu/sys/socket.h:243:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’
- extern int accept (int __fd, __SOCKADDR_ARG __addr,
- ^
- src/dinoex_upload.c: In function ‘l_perform’:
- src/dinoex_upload.c:312:48: warning: pointer targets in passing argument 5 of ‘getsockopt’ differ in signedness [-Wpointer-sign]
- &connect_error, &connect_error_len);
- ^
- In file included from /usr/include/netinet/in.h:23:0,
- from /usr/include/netdb.h:27,
- from src/iroffer_headers.h:29,
- from src/dinoex_upload.c:19:
- /usr/include/x86_64-linux-gnu/sys/socket.h:219:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’
- extern int getsockopt (int __fd, int __level, int __optname,
- ^
- src/dinoex_upload.c: In function ‘upload_start’:
- src/dinoex_upload.c:520:11: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 7 has type ‘off_t {aka long int}’ [-Wformat=]
- "DCC Send Accepted from %s on %s: %s (%" LLPRINTFMT "dkB)",
- ^
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/dinoex_transfer.o src/dinoex_transfer.c
- In file included from src/iroffer_defines.h:20:0,
- from src/dinoex_transfer.c:18:
- src/dinoex_transfer.c: In function ‘t_start_dcc_send’:
- src/dinoex_defines.h:64:18: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 5 has type ‘off_t {aka long int}’ [-Wformat=]
- #define IRC_CTCP "\1"
- ^
- src/dinoex_transfer.c:40:28: note: in expansion of macro ‘IRC_CTCP’
- privmsg_fast(tr->nick, IRC_CTCP "DCC SEND %s %s %" LLPRINTFMT "d %u" IRC_CT
- ^
- src/dinoex_defines.h:64:18: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 5 has type ‘off_t {aka long int}’ [-Wformat=]
- #define IRC_CTCP "\1"
- ^
- src/dinoex_transfer.c:45:28: note: in expansion of macro ‘IRC_CTCP’
- privmsg_fast(tr->nick, IRC_CTCP "DCC SEND %s %s %" LLPRINTFMT "d" IRC_CTCP,
- ^
- src/dinoex_transfer.c: In function ‘t_find_resume’:
- src/dinoex_transfer.c:380:13: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 7 has type ‘off_t {aka long int}’ [-Wformat=]
- "XDCC [%02i:%s on %s]: Resume attempted beyond end of file ( %" LLP
- ^
- src/dinoex_transfer.c:380:13: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 8 has type ‘off_t {aka long int}’ [-Wformat=]
- src/dinoex_transfer.c:394:11: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 7 has type ‘off_t {aka long int}’ [-Wformat=]
- "XDCC [%02i:%s on %s]: Resumed at %" LLPRINTFMT "d, %" LLPRINTFMT "dK
- ^
- src/dinoex_transfer.c:394:11: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 8 has type ‘off_t {aka long int}’ [-Wformat=]
- src/dinoex_transfer.c: In function ‘t_connected’:
- src/dinoex_transfer.c:410:42: warning: pointer targets in passing argument 5 of ‘getsockopt’ differ in signedness [-Wpointer-sign]
- &connect_error, &connect_error_len);
- ^
- In file included from /usr/include/netinet/in.h:23:0,
- from /usr/include/netdb.h:27,
- from src/iroffer_headers.h:29,
- from src/dinoex_transfer.c:19:
- /usr/include/x86_64-linux-gnu/sys/socket.h:219:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’
- extern int getsockopt (int __fd, int __level, int __optname,
- ^
- src/dinoex_transfer.c: In function ‘verify_acknowlede’:
- src/dinoex_transfer.c:527:18: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 7 has type ‘off_t {aka long int}’ [-Wformat=]
- "XDCC [%02i:%s on %s]: Acknowleged %" LLPRINTFMT "d Bytes, for
- ^
- src/dinoex_transfer.c:543:20: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 6 has type ‘off_t {aka long int}’ [-Wformat=]
- "XDCC [%02i:%s on %s]: Acknowleged %" LLPRINTFMT "d Bytes af
- ^
- src/dinoex_transfer.c:543:20: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 7 has type ‘off_t {aka long int}’ [-Wformat=]
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/dinoex_geoip.o src/dinoex_geoip.c
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/dinoex_ssl.o src/dinoex_ssl.c
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/dinoex_curl.o src/dinoex_curl.c
- src/dinoex_curl.c: In function ‘fetch_header_cb’:
- src/dinoex_curl.c:297:16: warning: unused variable ‘failure’ [-Wunused-variable]
- const size_t failure = (cb) ? 0 : 1;
- ^
- src/dinoex_curl.c: In function ‘dinoex_dcld’:
- src/dinoex_curl.c:675:18: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 4 has type ‘long int’ [-Wformat=]
- a_respond(u, " ^- %5.1fK/s %6" LLPRINTFMT "dK/%6" LLPRINTFMT "dK %2i%c
- ^
- src/dinoex_curl.c:675:18: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 5 has type ‘long int’ [-Wformat=]
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/dinoex_irc.o src/dinoex_irc.c
- src/dinoex_irc.c: In function ‘ir_setsockopt2’:
- src/dinoex_irc.c:414:57: warning: pointer targets in passing argument 5 of ‘getsockopt’ differ in signedness [-Wpointer-sign]
- getsockopt(clientsocket, SOL_SOCKET, optint, &tempc1, &tempi);
- ^
- In file included from /usr/include/netinet/in.h:23:0,
- from /usr/include/netdb.h:27,
- from src/iroffer_headers.h:29,
- from src/dinoex_irc.c:19:
- /usr/include/x86_64-linux-gnu/sys/socket.h:219:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’
- extern int getsockopt (int __fd, int __level, int __optname,
- ^
- src/dinoex_irc.c:419:57: warning: pointer targets in passing argument 5 of ‘getsockopt’ differ in signedness [-Wpointer-sign]
- getsockopt(clientsocket, SOL_SOCKET, optint, &tempc3, &tempi);
- ^
- In file included from /usr/include/netinet/in.h:23:0,
- from /usr/include/netdb.h:27,
- from src/iroffer_headers.h:29,
- from src/dinoex_irc.c:19:
- /usr/include/x86_64-linux-gnu/sys/socket.h:219:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’
- extern int getsockopt (int __fd, int __level, int __optname,
- ^
- src/dinoex_irc.c: In function ‘irc_perform’:
- src/dinoex_irc.c:1568:48: warning: pointer targets in passing argument 5 of ‘getsockopt’ differ in signedness [-Wpointer-sign]
- &connect_error, &connect_error_len);
- ^
- In file included from /usr/include/netinet/in.h:23:0,
- from /usr/include/netdb.h:27,
- from src/iroffer_headers.h:29,
- from src/dinoex_irc.c:19:
- /usr/include/x86_64-linux-gnu/sys/socket.h:219:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’
- extern int getsockopt (int __fd, int __level, int __optname,
- ^
- src/dinoex_irc.c:1598:68: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness [-Wpointer-sign]
- if (getsockname(gnetwork->ircserver, &(gnetwork->myip.sa), &addrlen) >=
- ^
- In file included from /usr/include/netinet/in.h:23:0,
- from /usr/include/netdb.h:27,
- from src/iroffer_headers.h:29,
- from src/dinoex_irc.c:19:
- /usr/include/x86_64-linux-gnu/sys/socket.h:127:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’
- extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
- ^
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/dinoex_queue.o src/dinoex_queue.c
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/dinoex_telnet.o src/dinoex_telnet.c
- src/dinoex_telnet.c: In function ‘telnet_accept’:
- src/dinoex_telnet.c:133:79: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness [-Wpointer-sign]
- >con.clientsocket = accept(telnet_listen[i], &(chat->con.remote.sa), &addrlen);
- ^
- In file included from /usr/include/netinet/in.h:23:0,
- from /usr/include/netdb.h:27,
- from src/iroffer_headers.h:29,
- from src/dinoex_telnet.c:19:
- /usr/include/x86_64-linux-gnu/sys/socket.h:243:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’
- extern int accept (int __fd, __SOCKADDR_ARG __addr,
- ^
- src/dinoex_telnet.c:136:79: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness [-Wpointer-sign]
- >con.clientsocket = accept(telnet_listen[i], &(chat->con.remote.sa), &addrlen);
- ^
- In file included from /usr/include/netinet/in.h:23:0,
- from /usr/include/netdb.h:27,
- from src/iroffer_headers.h:29,
- from src/dinoex_telnet.c:19:
- /usr/include/x86_64-linux-gnu/sys/socket.h:243:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’
- extern int accept (int __fd, __SOCKADDR_ARG __addr,
- ^
- src/dinoex_telnet.c:148:66: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness [-Wpointer-sign]
- if (getsockname(chat->con.clientsocket, &(chat->con.local.sa), &addrlen) < 0)
- ^
- In file included from /usr/include/netinet/in.h:23:0,
- from /usr/include/netdb.h:27,
- from src/iroffer_headers.h:29,
- from src/dinoex_telnet.c:19:
- /usr/include/x86_64-linux-gnu/sys/socket.h:127:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’
- extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
- ^
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/dinoex_badip.o src/dinoex_badip.c
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/dinoex_jobs.o src/dinoex_jobs.c
- src/dinoex_jobs.c: In function ‘write_removed_xdcc’:
- src/dinoex_jobs.c:915:43: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 4 has type ‘off_t {aka long int}’ [-Wformat=]
- len = add_snprintf(line, maxtextlength, "xx_size %" LLPRINTFMT "d\n", xd->st_
- ^
- src/dinoex_jobs.c: In function ‘write_asc_int64’:
- src/dinoex_jobs.c:1495:22: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 7 has type ‘ir_int64 {aka long int}’ [-Wformat=]
- "%*s<%s>%" LLPRINTFMT "d</%s>\n", spaces, "", tag, val, ta
- ^
- src/dinoex_jobs.c: In function ‘write_removed_xdcc’:
- src/dinoex_jobs.c:908:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
- write(fd, line, len);
- ^
- src/dinoex_jobs.c:910:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
- write(fd, line, len);
- ^
- src/dinoex_jobs.c:912:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
- write(fd, line, len);
- ^
- src/dinoex_jobs.c:914:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
- write(fd, line, len);
- ^
- src/dinoex_jobs.c:916:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
- write(fd, line, len);
- ^
- src/dinoex_jobs.c:918:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
- write(fd, line, len);
- ^
- src/dinoex_jobs.c:923:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
- write(fd, line, len);
- ^
- src/dinoex_jobs.c:928:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
- write(fd, line, len);
- ^
- src/dinoex_jobs.c:930:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
- write(fd, line, len);
- ^
- src/dinoex_jobs.c:932:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
- write(fd, line, len);
- ^
- src/dinoex_jobs.c:934:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
- write(fd, line, len);
- ^
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/dinoex_kqueue.o src/dinoex_kqueue.c
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/dinoex_ruby.o src/dinoex_ruby.c
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/dinoex_user.o src/dinoex_user.c
- src/dinoex_user.c: In function ‘command_dcc’:
- src/dinoex_user.c:232:15: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 7 has type ‘off_t {aka long int}’ [-Wformat=]
- "DCC Send Resumed from %s on %s: %s (%" LLPRINTFMT "d of %" LLPRI
- ^
- src/dinoex_user.c:232:15: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 8 has type ‘off_t {aka long int}’ [-Wformat=]
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/dinoex_chat.o src/dinoex_chat.c
- src/dinoex_chat.c: In function ‘chat_perform’:
- src/dinoex_chat.c:129:48: warning: pointer targets in passing argument 5 of ‘getsockopt’ differ in signedness [-Wpointer-sign]
- &connect_error, &connect_error_len);
- ^
- In file included from /usr/include/netinet/in.h:23:0,
- from /usr/include/netdb.h:27,
- from src/iroffer_headers.h:29,
- from src/dinoex_chat.c:19:
- /usr/include/x86_64-linux-gnu/sys/socket.h:219:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’
- extern int getsockopt (int __fd, int __level, int __optname,
- ^
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/dinoex_config.o src/dinoex_config.c
- src/dinoex_config.c: In function ‘dump_config_long2’:
- src/dinoex_config.c:145:15: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 3 has type ‘ir_int64 {aka long int}’ [-Wformat=]
- dump_line("%s %" LLPRINTFMT "d", name, val); /* NOTRANSLATE */
- ^
- src/dinoex_config.c: In function ‘print_config_long2’:
- src/dinoex_config.c:186:38: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 4 has type ‘ir_int64 {aka long int}’ [-Wformat=]
- snprintf(text, maxtextlengthshort, "%" LLPRINTFMT "d", val); /* NOTRANSLATE *
- ^
- src/dinoex_config.c:186:38: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 4 has type ‘ir_int64 {aka long int}’ [-Wformat=]
- src/dinoex_config.c: In function ‘d_transferlimits’:
- src/dinoex_config.c:2098:13: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘ir_int64 {aka long int}’ [-Wformat=]
- dump_line("%s %" LLPRINTFMT "u %" LLPRINTFMT "u %" LLPRINTFMT "u", /* NOTRANS
- ^
- src/dinoex_config.c:2098:13: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘ir_int64 {aka long int}’ [-Wformat=]
- src/dinoex_config.c:2098:13: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘ir_int64 {aka long int}’ [-Wformat=]
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/crc32.o src/crc32.c
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/upnp.o src/upnp.c
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/blowfish.o src/blowfish.c
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/strnatcmp.o src/strnatcmp.c
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/iroffer_utilities.o src/iroffer_utilities.c
- src/iroffer_utilities.c: In function ‘dumpgdata’:
- src/iroffer_utilities.c:736:15: warning: format ‘%Li’ expects argument of type ‘long long int’, but argument 2 has type ‘time_t {aka long int}’ [-Wformat=]
- dump_line("GDATA * " #name ": " format, gdata. name);
- ^
- src/iroffer_utilities.c:750:33: note: in expansion of macro ‘gdata_print_number’
- #define gdata_print_time(name) gdata_print_number("%" TTPRINTFMT, name)
- ^
- src/iroffer_utilities.c:819:3: note: in expansion of macro ‘gdata_print_time’
- gdata_print_time(startuptime);
- ^
- src/iroffer_utilities.c:760:48: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘ir_int64 {aka long int}’ [-Wformat=]
- { if (gdata. name [ii] . item) { dump_line("GDATA * " #name "[%d]: " #item
- ^
- src/iroffer_utilities.c:828:7: note: in expansion of macro ‘gdata_print_number_array_item’
- gdata_print_number_array_item("%" LLPRINTFMT "u",transferlimits,limit);
- ^
- src/iroffer_utilities.c:760:48: warning: format ‘%Lu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘ir_int64 {aka long int}’ [-Wformat=]
- { if (gdata. name [ii] . item) { dump_line("GDATA * " #name "[%d]: " #item
- ^
- src/iroffer_utilities.c:829:7: note: in expansion of macro ‘gdata_print_number_array_item’
- gdata_print_number_array_item("%" LLPRINTFMT "u",transferlimits,used);
- ^
- src/iroffer_utilities.c:858:13: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 2 has type ‘off_t {aka long int}’ [-Wformat=]
- dump_line(" : bytesgot=%" LLPRINTFMT "d bytessent=%" LLPRINTFMT "d",
- ^
- src/iroffer_utilities.c:858:13: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 3 has type ‘off_t {aka long int}’ [-Wformat=]
- src/iroffer_utilities.c:860:13: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 2 has type ‘off_t {aka long int}’ [-Wformat=]
- dump_line(" : filepos=%" LLPRINTFMT "d totalsize=%" LLPRINTFMT "d",
- ^
- src/iroffer_utilities.c:860:13: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 3 has type ‘off_t {aka long int}’ [-Wformat=]
- src/iroffer_utilities.c:736:15: warning: format ‘%Li’ expects argument of type ‘long long int’, but argument 2 has type ‘time_t {aka long int}’ [-Wformat=]
- dump_line("GDATA * " #name ": " format, gdata. name);
- ^
- src/iroffer_utilities.c:750:33: note: in expansion of macro ‘gdata_print_number’
- #define gdata_print_time(name) gdata_print_number("%" TTPRINTFMT, name)
- ^
- src/iroffer_utilities.c:944:7: note: in expansion of macro ‘gdata_print_time’
- gdata_print_time(networks[ss].connecttime);
- ^
- src/iroffer_utilities.c:736:15: warning: format ‘%Li’ expects argument of type ‘long long int’, but argument 2 has type ‘time_t {aka long int}’ [-Wformat=]
- dump_line("GDATA * " #name ": " format, gdata. name);
- ^
- src/iroffer_utilities.c:750:33: note: in expansion of macro ‘gdata_print_number’
- #define gdata_print_time(name) gdata_print_number("%" TTPRINTFMT, name)
- ^
- src/iroffer_utilities.c:945:7: note: in expansion of macro ‘gdata_print_time’
- gdata_print_time(networks[ss].lastservercontact);
- ^
- src/iroffer_utilities.c:736:15: warning: format ‘%Li’ expects argument of type ‘long long int’, but argument 2 has type ‘time_t {aka long int}’ [-Wformat=]
- dump_line("GDATA * " #name ": " format, gdata. name);
- ^
- src/iroffer_utilities.c:750:33: note: in expansion of macro ‘gdata_print_number’
- #define gdata_print_time(name) gdata_print_number("%" TTPRINTFMT, name)
- ^
- src/iroffer_utilities.c:946:7: note: in expansion of macro ‘gdata_print_time’
- gdata_print_time(networks[ss].lastnotify);
- ^
- src/iroffer_utilities.c:736:15: warning: format ‘%Li’ expects argument of type ‘long long int’, but argument 2 has type ‘time_t {aka long int}’ [-Wformat=]
- dump_line("GDATA * " #name ": " format, gdata. name);
- ^
- src/iroffer_utilities.c:750:33: note: in expansion of macro ‘gdata_print_number’
- #define gdata_print_time(name) gdata_print_number("%" TTPRINTFMT, name)
- ^
- src/iroffer_utilities.c:947:7: note: in expansion of macro ‘gdata_print_time’
- gdata_print_time(networks[ss].lastping);
- ^
- src/iroffer_utilities.c:736:15: warning: format ‘%Li’ expects argument of type ‘long long int’, but argument 2 has type ‘time_t {aka long int}’ [-Wformat=]
- dump_line("GDATA * " #name ": " format, gdata. name);
- ^
- src/iroffer_utilities.c:750:33: note: in expansion of macro ‘gdata_print_number’
- #define gdata_print_time(name) gdata_print_number("%" TTPRINTFMT, name)
- ^
- src/iroffer_utilities.c:948:7: note: in expansion of macro ‘gdata_print_time’
- gdata_print_time(networks[ss].lastslow);
- ^
- src/iroffer_utilities.c:736:15: warning: format ‘%Li’ expects argument of type ‘long long int’, but argument 2 has type ‘time_t {aka long int}’ [-Wformat=]
- dump_line("GDATA * " #name ": " format, gdata. name);
- ^
- src/iroffer_utilities.c:750:33: note: in expansion of macro ‘gdata_print_number’
- #define gdata_print_time(name) gdata_print_number("%" TTPRINTFMT, name)
- ^
- src/iroffer_utilities.c:949:7: note: in expansion of macro ‘gdata_print_time’
- gdata_print_time(networks[ss].lastnormal);
- ^
- src/iroffer_utilities.c:736:15: warning: format ‘%Li’ expects argument of type ‘long long int’, but argument 2 has type ‘time_t {aka long int}’ [-Wformat=]
- dump_line("GDATA * " #name ": " format, gdata. name);
- ^
- src/iroffer_utilities.c:750:33: note: in expansion of macro ‘gdata_print_number’
- #define gdata_print_time(name) gdata_print_number("%" TTPRINTFMT, name)
- ^
- src/iroffer_utilities.c:950:7: note: in expansion of macro ‘gdata_print_time’
- gdata_print_time(networks[ss].lastfast);
- ^
- src/iroffer_utilities.c:736:15: warning: format ‘%Li’ expects argument of type ‘long long int’, but argument 2 has type ‘time_t {aka long int}’ [-Wformat=]
- dump_line("GDATA * " #name ": " format, gdata. name);
- ^
- src/iroffer_utilities.c:750:33: note: in expansion of macro ‘gdata_print_number’
- #define gdata_print_time(name) gdata_print_number("%" TTPRINTFMT, name)
- ^
- src/iroffer_utilities.c:951:7: note: in expansion of macro ‘gdata_print_time’
- gdata_print_time(networks[ss].lastsend);
- ^
- src/iroffer_utilities.c:736:15: warning: format ‘%Li’ expects argument of type ‘long long int’, but argument 2 has type ‘time_t {aka long int}’ [-Wformat=]
- dump_line("GDATA * " #name ": " format, gdata. name);
- ^
- src/iroffer_utilities.c:750:33: note: in expansion of macro ‘gdata_print_number’
- #define gdata_print_time(name) gdata_print_number("%" TTPRINTFMT, name)
- ^
- src/iroffer_utilities.c:953:7: note: in expansion of macro ‘gdata_print_time’
- gdata_print_time(networks[ss].next_identify);
- ^
- src/iroffer_utilities.c:736:15: warning: format ‘%Li’ expects argument of type ‘long long int’, but argument 2 has type ‘time_t {aka long int}’ [-Wformat=]
- dump_line("GDATA * " #name ": " format, gdata. name);
- ^
- src/iroffer_utilities.c:750:33: note: in expansion of macro ‘gdata_print_number’
- #define gdata_print_time(name) gdata_print_number("%" TTPRINTFMT, name)
- ^
- src/iroffer_utilities.c:954:7: note: in expansion of macro ‘gdata_print_time’
- gdata_print_time(networks[ss].next_restrict);
- ^
- src/iroffer_utilities.c:782:15: warning: format ‘%Li’ expects argument of type ‘long long int’, but argument 2 has type ‘time_t {aka long int}’ [-Wformat=]
- dump_line(" " #name ": " format, iter-> name);
- ^
- src/iroffer_utilities.c:793:38: note: in expansion of macro ‘gdata_iter_print_number’
- #define gdata_iter_print_time(name) gdata_iter_print_number("%" TTPRINTFMT, na
- ^
- src/iroffer_utilities.c:1023:7: note: in expansion of macro ‘gdata_iter_print_time’
- gdata_iter_print_time(nextann);
- ^
- src/iroffer_utilities.c:782:15: warning: format ‘%Li’ expects argument of type ‘long long int’, but argument 2 has type ‘time_t {aka long int}’ [-Wformat=]
- dump_line(" " #name ": " format, iter-> name);
- ^
- src/iroffer_utilities.c:793:38: note: in expansion of macro ‘gdata_iter_print_number’
- #define gdata_iter_print_time(name) gdata_iter_print_number("%" TTPRINTFMT, na
- ^
- src/iroffer_utilities.c:1024:7: note: in expansion of macro ‘gdata_iter_print_time’
- gdata_iter_print_time(nextmsg);
- ^
- src/iroffer_utilities.c:782:15: warning: format ‘%Li’ expects argument of type ‘long long int’, but argument 2 has type ‘time_t {aka long int}’ [-Wformat=]
- dump_line(" " #name ": " format, iter-> name);
- ^
- src/iroffer_utilities.c:793:38: note: in expansion of macro ‘gdata_iter_print_number’
- #define gdata_iter_print_time(name) gdata_iter_print_number("%" TTPRINTFMT, na
- ^
- src/iroffer_utilities.c:1025:7: note: in expansion of macro ‘gdata_iter_print_time’
- gdata_iter_print_time(nextjoin);
- ^
- src/iroffer_utilities.c:782:15: warning: format ‘%Li’ expects argument of type ‘long long int’, but argument 2 has type ‘time_t {aka long int}’ [-Wformat=]
- dump_line(" " #name ": " format, iter-> name);
- ^
- src/iroffer_utilities.c:793:38: note: in expansion of macro ‘gdata_iter_print_number’
- #define gdata_iter_print_time(name) gdata_iter_print_number("%" TTPRINTFMT, na
- ^
- src/iroffer_utilities.c:1026:7: note: in expansion of macro ‘gdata_iter_print_time’
- gdata_iter_print_time(lastjoin);
- ^
- src/iroffer_utilities.c:782:15: warning: format ‘%Li’ expects argument of type ‘long long int’, but argument 2 has type ‘time_t {aka long int}’ [-Wformat=]
- dump_line(" " #name ": " format, iter-> name);
- ^
- src/iroffer_utilities.c:793:38: note: in expansion of macro ‘gdata_iter_print_number’
- #define gdata_iter_print_time(name) gdata_iter_print_number("%" TTPRINTFMT, na
- ^
- src/iroffer_utilities.c:1040:7: note: in expansion of macro ‘gdata_iter_print_time’
- gdata_iter_print_time(last_seen);
- ^
- src/iroffer_utilities.c:736:15: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 2 has type ‘ir_int64 {aka long int}’ [-Wformat=]
- dump_line("GDATA * " #name ": " format, gdata. name);
- ^
- src/iroffer_utilities.c:1078:3: note: in expansion of macro ‘gdata_print_number’
- gdata_print_number("%" LLPRINTFMT "d", totalsent);
- ^
- src/iroffer_utilities.c:736:15: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 2 has type ‘off_t {aka long int}’ [-Wformat=]
- dump_line("GDATA * " #name ": " format, gdata. name);
- ^
- src/iroffer_utilities.c:1107:3: note: in expansion of macro ‘gdata_print_number’
- gdata_print_number("%" LLPRINTFMT "d", max_file_size);
- ^
- src/iroffer_utilities.c:1134:13: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 6 has type ‘off_t {aka long int}’ [-Wformat=]
- dump_line(" : ptr=%p gets=%d minspeed=%.1f maxspeed=%.1f st_size=%" LLPRINTF
- ^
- src/iroffer_utilities.c:1142:11: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 4 has type ‘off_t {aka long int}’ [-Wformat=]
- " : fd=%d fd_count=%d fd_loc=%" LLPRINTFMT "d",
- ^
- src/iroffer_utilities.c:1167:17: warning: format ‘%LX’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]
- " : ptr=%p ref_count=%d mmap_ptr=%p mmap_offset=0x%.8" LLPRINT
- ^
- src/iroffer_utilities.c:1167:17: warning: format ‘%LX’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘long unsigned int’ [-Wformat=]
- src/iroffer_utilities.c:1208:11: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 2 has type ‘off_t {aka long int}’ [-Wformat=]
- " : sent=%" LLPRINTFMT "d got=%" LLPRINTFMT "d lastack=%" LLPRINTFMT
- ^
- src/iroffer_utilities.c:1208:11: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 3 has type ‘off_t {aka long int}’ [-Wformat=]
- src/iroffer_utilities.c:1208:11: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 4 has type ‘off_t {aka long int}’ [-Wformat=]
- src/iroffer_utilities.c:1208:11: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 5 has type ‘off_t {aka long int}’ [-Wformat=]
- src/iroffer_utilities.c:1208:11: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 6 has type ‘off_t {aka long int}’ [-Wformat=]
- src/iroffer_utilities.c:1208:11: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 7 has type ‘off_t {aka long int}’ [-Wformat=]
- src/iroffer_utilities.c:1252:11: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 2 has type ‘off_t {aka long int}’ [-Wformat=]
- " : got=%" LLPRINTFMT "d totalsize=%" LLPRINTFMT "d resume=%" LLPRIN
- ^
- src/iroffer_utilities.c:1252:11: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 3 has type ‘off_t {aka long int}’ [-Wformat=]
- src/iroffer_utilities.c:1252:11: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 4 has type ‘off_t {aka long int}’ [-Wformat=]
- src/iroffer_utilities.c:1252:11: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 5 has type ‘off_t {aka long int}’ [-Wformat=]
- src/iroffer_utilities.c: In function ‘ir_bind_listen_socket’:
- src/iroffer_utilities.c:2172:35: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness [-Wpointer-sign]
- if ((getsockname(fd, &(sa->sa), &addrlen)) < 0)
- ^
- In file included from /usr/include/netinet/in.h:23:0,
- from /usr/include/netdb.h:27,
- from src/iroffer_headers.h:29,
- from src/iroffer_utilities.c:20:
- /usr/include/x86_64-linux-gnu/sys/socket.h:127:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’
- extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
- ^
- gcc -c -Isrc -I/usr/local/include -I/usr/local/include -O2 -Wall -o o.en/dinoex_utilities.o src/dinoex_utilities.c
- gcc -O2 -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib o.en/iroffer_admin.o o.en/iroffer_dccchat.o o.en/iroffer_display.o o.en/iroffer_main.o o.en/iroffer_misc.o o.en/iroffer_statefile.o o.en/iroffer_transfer.o o.en/iroffer_upload.o o.en/plumb_md5.o o.en/dinoex_admin.o o.en/dinoex_main.o o.en/dinoex_misc.o o.en/dinoex_http.o o.en/dinoex_upload.o o.en/dinoex_transfer.o o.en/dinoex_geoip.o o.en/dinoex_ssl.o o.en/dinoex_curl.o o.en/dinoex_irc.o o.en/dinoex_queue.o o.en/dinoex_telnet.o o.en/dinoex_badip.o o.en/dinoex_jobs.o o.en/dinoex_kqueue.o o.en/dinoex_ruby.o o.en/dinoex_user.o o.en/dinoex_chat.o o.en/dinoex_config.o o.en/crc32.o o.en/upnp.o o.en/blowfish.o o.en/strnatcmp.o o.en/iroffer_utilities.o o.en/dinoex_utilities.o -lGeoIP -L/usr/lib/x86_64-linux-gnu -lcurl -lssl -lcrypto -lcrypt -o iroffer
- gcc -O2 -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib o.en/iroffer_admin.o o.en/iroffer_dccchat.o o.en/iroffer_display.o o.en/iroffer_main.o o.en/iroffer_misc.o o.en/iroffer_statefile.o o.en/iroffer_transfer.o o.en/iroffer_upload.o o.en/plumb_md5.o o.en/dinoex_admin.o o.en/dinoex_main.o o.en/dinoex_misc.o o.en/dinoex_http.o o.en/dinoex_upload.o o.en/dinoex_transfer.o o.en/dinoex_geoip.o o.en/dinoex_ssl.o o.en/dinoex_curl.o o.en/dinoex_irc.o o.en/dinoex_queue.o o.en/dinoex_telnet.o o.en/dinoex_badip.o o.en/dinoex_jobs.o o.en/dinoex_kqueue.o o.en/dinoex_ruby.o o.en/dinoex_user.o o.en/dinoex_chat.o o.en/dinoex_config.o o.en/crc32.o o.en/upnp.o o.en/blowfish.o o.en/strnatcmp.o o.en/iroffer_utilities.o o.en/dinoex_utilities.o -lGeoIP -L/usr/lib/x86_64-linux-gnu -lcurl -lssl -lcrypto -lcrypt -lnss_files -lnss_dns -o iroffer_chroot
- anthony@anthony-KY811AA-ABA-e9120y:~/iroffer/iroffer-dinoex-3.30$ cp -p iroffer ..
- anthony@anthony-KY811AA-ABA-e9120y:~/iroffer/iroffer-dinoex-3.30$ cp *.html ..
- anthony@anthony-KY811AA-ABA-e9120y:~/iroffer/iroffer-dinoex-3.30$ cp -r htdocs ../
- anthony@anthony-KY811AA-ABA-e9120y:~/iroffer/iroffer-dinoex-3.30$
- anthony@anthony-KY811AA-ABA-e9120y:~/iroffer/iroffer-dinoex-3.30$ cp sample.config ../mybot.config
- anthony@anthony-KY811AA-ABA-e9120y:~/iroffer/iroffer-dinoex-3.30$ cd ..
- anthony@anthony-KY811AA-ABA-e9120y:~/iroffer$ chmod 600 mybot.config
- anthony@anthony-KY811AA-ABA-e9120y:~/iroffer$ chmod 700 .
- anthony@anthony-KY811AA-ABA-e9120y:~/iroffer$ ./iroffer -c mybot.config
- iroffer-dinoex 3.30
- Configuration File Password Generator
- This will take a password of your choosing and encrypt it.
- You should place the output this program generates in your config file.
- You can then use your password you enter here over irc.
- Your password must be between 5 and 59 characters
- Please Enter Your Password: ichigosstrawbery978
- And Again for Verification: ichigosstrawberry978
- The Password Didn't Match, Try Again
- anthony@anthony-KY811AA-ABA-e9120y:~/iroffer$ ./iroffer -c mybot.config
- iroffer-dinoex 3.30
- Configuration File Password Generator
- This will take a password of your choosing and encrypt it.
- You should place the output this program generates in your config file.
- You can then use your password you enter here over irc.
- Your password must be between 5 and 59 characters
- Please Enter Your Password: ichigosstrawberry978
- And Again for Verification: ichigosstrawberry978
- anthony@anthony-KY811AA-ABA-e9120y:~/iroffer$ cd ..
- anthony@anthony-KY811AA-ABA-e9120y:~$ mkdir files
- anthony@anthony-KY811AA-ABA-e9120y:~$ chown bot files
- chown: invalid user: ‘bot’
- anthony@anthony-KY811AA-ABA-e9120y:~$ cd ..
- anthony@anthony-KY811AA-ABA-e9120y:/home$ mkdir files
- mkdir: cannot create directory ‘files’: Permission denied
- anthony@anthony-KY811AA-ABA-e9120y:/home$ cd .. sudo mkdir files chown anthony files
- anthony@anthony-KY811AA-ABA-e9120y:/$ wget http://iroffer.dinoex.net/iroffer-state217.zip
- --2016-06-10 17:39:09-- http://iroffer.dinoex.net/iroffer-state217.zip
- Resolving iroffer.dinoex.net (iroffer.dinoex.net)... 2a01:4f8:100:6061::18, 188.40.204.28
- Connecting to iroffer.dinoex.net (iroffer.dinoex.net)|2a01:4f8:100:6061::18|:80... connected.
- HTTP request sent, awaiting response... 404 Not Found
- 2016-06-10 17:39:10 ERROR 404: Not Found.
- anthony@anthony-KY811AA-ABA-e9120y:/$ cd httpdocs
- bash: cd: httpdocs: No such file or directory
- anthony@anthony-KY811AA-ABA-e9120y:/$ unzip ../iroffer-state217.zip
- unzip: cannot find or open ../iroffer-state217.zip, ../iroffer-state217.zip.zip or ../iroffer-state217.zip.ZIP.
- anthony@anthony-KY811AA-ABA-e9120y:/$ touch size.data
- touch: cannot touch 'size.data': Permission denied
- anthony@anthony-KY811AA-ABA-e9120y:/$ cp iroffer-sample.php index.php
- cp: cannot stat 'iroffer-sample.php': No such file or directory
- anthony@anthony-KY811AA-ABA-e9120y:/$
- anthony@anthony-KY811AA-ABA-e9120y:/$ wget http://iroffer.dinoex.net/iroffer-state218.zip cd httpdocs unzip ../iroffer-state218.zip touch size.data cp iroffer-sample.php index.php
- --2016-06-10 17:39:53-- http://iroffer.dinoex.net/iroffer-state218.zip
- Resolving iroffer.dinoex.net (iroffer.dinoex.net)... 2a01:4f8:100:6061::18, 188.40.204.28
- Connecting to iroffer.dinoex.net (iroffer.dinoex.net)|2a01:4f8:100:6061::18|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 9573 (9.3K) [application/zip]
- iroffer-state218.zip: Permission denied
- Cannot write to ‘iroffer-state218.zip’ (Success).
- --2016-06-10 17:39:53-- http://cd/
- Resolving cd (cd)... failed: No address associated with hostname.
- wget: unable to resolve host address ‘cd’
- --2016-06-10 17:39:53-- http://httpdocs/
- Resolving httpdocs (httpdocs)... 198.105.254.228, 198.105.244.228
- Connecting to httpdocs (httpdocs)|198.105.254.228|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: unspecified [text/html]
- index.html: Permission denied
- Cannot write to ‘index.html’ (Success).
- --2016-06-10 17:39:53-- http://unzip/
- Resolving unzip (unzip)... 198.105.254.228, 198.105.244.228
- Connecting to unzip (unzip)|198.105.254.228|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: unspecified [text/html]
- index.html: Permission denied
- Cannot write to ‘index.html’ (Success).
- --2016-06-10 17:39:54-- http://../iroffer-state218.zip
- Resolving .. (..)... failed: Name or service not known.
- wget: unable to resolve host address ‘..’
- --2016-06-10 17:39:54-- http://touch/
- Resolving touch (touch)... 198.105.254.228, 198.105.244.228
- Connecting to touch (touch)|198.105.254.228|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: unspecified [text/html]
- index.html: Permission denied
- Cannot write to ‘index.html’ (Success).
- --2016-06-10 17:39:54-- http://size.data/
- Resolving size.data (size.data)... 198.105.254.228, 198.105.244.228
- Connecting to size.data (size.data)|198.105.254.228|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: unspecified [text/html]
- index.html: Permission denied
- Cannot write to ‘index.html’ (Success).
- --2016-06-10 17:39:54-- http://cp/
- Resolving cp (cp)... 198.105.254.228, 198.105.244.228
- Connecting to cp (cp)|198.105.254.228|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: unspecified [text/html]
- index.html: Permission denied
- Cannot write to ‘index.html’ (Success).
- --2016-06-10 17:39:54-- http://iroffer-sample.php/
- Resolving iroffer-sample.php (iroffer-sample.php)... 198.105.254.228, 198.105.244.228
- Connecting to iroffer-sample.php (iroffer-sample.php)|198.105.254.228|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: unspecified [text/html]
- index.html: Permission denied
- Cannot write to ‘index.html’ (Success).
- --2016-06-10 17:39:55-- http://index.php/
- Resolving index.php (index.php)... 198.105.254.228, 198.105.244.228
- Connecting to index.php (index.php)|198.105.254.228|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: unspecified [text/html]
- index.html: Permission denied
- Cannot write to ‘index.html’ (Success).
- anthony@anthony-KY811AA-ABA-e9120y:/$ sudo wget http://iroffer.dinoex.net/iroffer-state218.zip cd httpdocs unzip ../iroffer-state218.zip touch size.data cp iroffer-sample.php index.php
- [sudo] password for anthony:
- --2016-06-10 17:40:12-- http://iroffer.dinoex.net/iroffer-state218.zip
- Resolving iroffer.dinoex.net (iroffer.dinoex.net)... 2a01:4f8:100:6061::18, 188.40.204.28
- Connecting to iroffer.dinoex.net (iroffer.dinoex.net)|2a01:4f8:100:6061::18|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 9573 (9.3K) [application/zip]
- Saving to: ‘iroffer-state218.zip’
- iroffer-state218.zi 100%[===================>] 9.35K --.-KB/s in 0.1s
- 2016-06-10 17:40:13 (94.5 KB/s) - ‘iroffer-state218.zip’ saved [9573/9573]
- --2016-06-10 17:40:13-- http://cd/
- Resolving cd (cd)... failed: No address associated with hostname.
- wget: unable to resolve host address ‘cd’
- --2016-06-10 17:40:13-- http://httpdocs/
- Resolving httpdocs (httpdocs)... 198.105.254.228, 198.105.244.228
- Connecting to httpdocs (httpdocs)|198.105.254.228|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: unspecified [text/html]
- Saving to: ‘index.html’
- index.html [ <=> ] 314 --.-KB/s in 0s
- 2016-06-10 17:40:13 (28.6 MB/s) - ‘index.html’ saved [314]
- --2016-06-10 17:40:13-- http://unzip/
- Resolving unzip (unzip)... 198.105.254.228, 198.105.244.228
- Connecting to unzip (unzip)|198.105.254.228|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: unspecified [text/html]
- Saving to: ‘index.html.1’
- index.html.1 [ <=> ] 311 --.-KB/s in 0s
- 2016-06-10 17:40:13 (29.7 MB/s) - ‘index.html.1’ saved [311]
- --2016-06-10 17:40:13-- http://../iroffer-state218.zip
- Resolving .. (..)... failed: Name or service not known.
- wget: unable to resolve host address ‘..’
- --2016-06-10 17:40:13-- http://touch/
- Resolving touch (touch)... 198.105.254.228, 198.105.244.228
- Connecting to touch (touch)|198.105.254.228|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: unspecified [text/html]
- Saving to: ‘index.html.2’
- index.html.2 [ <=> ] 311 --.-KB/s in 0s
- 2016-06-10 17:40:13 (16.8 MB/s) - ‘index.html.2’ saved [311]
- --2016-06-10 17:40:13-- http://size.data/
- Resolving size.data (size.data)... 198.105.254.228, 198.105.244.228
- Connecting to size.data (size.data)|198.105.254.228|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: unspecified [text/html]
- Saving to: ‘index.html.3’
- index.html.3 [ <=> ] 315 --.-KB/s in 0s
- 2016-06-10 17:40:14 (17.2 MB/s) - ‘index.html.3’ saved [315]
- --2016-06-10 17:40:14-- http://cp/
- Resolving cp (cp)... 198.105.254.228, 198.105.244.228
- Connecting to cp (cp)|198.105.254.228|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: unspecified [text/html]
- Saving to: ‘index.html.4’
- index.html.4 [ <=> ] 308 --.-KB/s in 0s
- 2016-06-10 17:40:14 (28.9 MB/s) - ‘index.html.4’ saved [308]
- --2016-06-10 17:40:14-- http://iroffer-sample.php/
- Resolving iroffer-sample.php (iroffer-sample.php)... 198.105.254.228, 198.105.244.228
- Connecting to iroffer-sample.php (iroffer-sample.php)|198.105.254.228|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: unspecified [text/html]
- Saving to: ‘index.html.5’
- index.html.5 [ <=> ] 324 --.-KB/s in 0s
- 2016-06-10 17:40:14 (7.20 MB/s) - ‘index.html.5’ saved [324]
- --2016-06-10 17:40:14-- http://index.php/
- Resolving index.php (index.php)... 198.105.254.228, 198.105.244.228
- Connecting to index.php (index.php)|198.105.254.228|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: unspecified [text/html]
- Saving to: ‘index.html.6’
- index.html.6 [ <=> ] 315 --.-KB/s in 0s
- 2016-06-10 17:40:14 (18.0 MB/s) - ‘index.html.6’ saved [315]
- FINISHED --2016-06-10 17:40:14--
- Total wall clock time: 2.5s
- Downloaded: 8 files, 11K in 0.1s (116 KB/s)
- anthony@anthony-KY811AA-ABA-e9120y:/$ nano -w index.php
- anthony@anthony-KY811AA-ABA-e9120y:/$
- anthony@anthony-KY811AA-ABA-e9120y:/$ sudo nano -w index.php
- anthony@anthony-KY811AA-ABA-e9120y:/$ cd ..
- anthony@anthony-KY811AA-ABA-e9120y:/$ nano -w start-iroffer.sh
- anthony@anthony-KY811AA-ABA-e9120y:/$ sudo nano -w start-iroffer.sh
- anthony@anthony-KY811AA-ABA-e9120y:/$ chmod +x start-iroffer.sh
- chmod: changing permissions of 'start-iroffer.sh': Operation not permitted
- anthony@anthony-KY811AA-ABA-e9120y:/$ sudo chmod +x start-iroffer.sh
- anthony@anthony-KY811AA-ABA-e9120y:/$ sh start-iroffer.sh
- start-iroffer.sh: 2: cd: can't cd to iroffer
- start-iroffer.sh: 3: start-iroffer.sh: ./iroffer: not found
- anthony@anthony-KY811AA-ABA-e9120y:/$ sudo sh start-iroffer.sh
- start-iroffer.sh: 2: cd: can't cd to iroffer
- start-iroffer.sh: 3: start-iroffer.sh: ./iroffer: not found
- anthony@anthony-KY811AA-ABA-e9120y:/$ sudo start-iroffer.sh
- sudo: start-iroffer.sh: command not found
- anthony@anthony-KY811AA-ABA-e9120y:/$ sudo sh start-iroffer.sh
- start-iroffer.sh: 2: cd: can't cd to iroffer
- start-iroffer.sh: 3: start-iroffer.sh: ./iroffer: not found
- anthony@anthony-KY811AA-ABA-e9120y:/$ ./iroffer -b bot.config
- bash: ./iroffer: No such file or directory
- anthony@anthony-KY811AA-ABA-e9120y:/$ ./iroffer -b bot.config
- bash: ./iroffer: No such file or directory
- anthony@anthony-KY811AA-ABA-e9120y:/$ sudo nano -w start-iroffer.sh
- anthony@anthony-KY811AA-ABA-e9120y:/$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement