Changeset 820
- Timestamp:
- 09/30/08 04:34:10 (4 years ago)
- Location:
- branches/ithildin-1.1
- Files:
-
- 3 edited
-
include/config.h.in (modified) (4 diffs)
-
modules/ircd/addons/hostmask.c (modified) (1 diff)
-
modules/ircd/commands/webirc.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/ithildin-1.1/include/config.h.in
r589 r820 109 109 #undef HAVE_LIMITS_H 110 110 111 /* Define to 1 if long double works and has more range or precision than112 double. */111 /* Define to 1 if the type `long double' works and has more range or precision 112 than `double'. */ 113 113 #undef HAVE_LONG_DOUBLE 114 115 /* Define to 1 if the type `long double' works and has more range or precision 116 than `double'. */ 117 #undef HAVE_LONG_DOUBLE_WIDER 114 118 115 119 /* Define to 1 if you have the <machine/endian.h> header file. */ … … 296 300 #undef POLLER_SELECT 297 301 298 /* The size of a`int', as computed by sizeof. */302 /* The size of `int', as computed by sizeof. */ 299 303 #undef SIZEOF_INT 300 304 301 /* The size of a`long', as computed by sizeof. */305 /* The size of `long', as computed by sizeof. */ 302 306 #undef SIZEOF_LONG 303 307 304 /* The size of a`long long', as computed by sizeof. */308 /* The size of `long long', as computed by sizeof. */ 305 309 #undef SIZEOF_LONG_LONG 306 310 307 /* The size of a`short', as computed by sizeof. */311 /* The size of `short', as computed by sizeof. */ 308 312 #undef SIZEOF_SHORT 309 313 … … 317 321 #undef USE_DMALLOC 318 322 319 /* Define to 1 if your processor stores words with the most significant byte 320 first (like Motorola and SPARC, unlike Intel and VAX). */ 321 #undef WORDS_BIGENDIAN 323 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 324 significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ 325 #if defined __BIG_ENDIAN__ 326 # define WORDS_BIGENDIAN 1 327 #elif ! defined __LITTLE_ENDIAN__ 328 # undef WORDS_BIGENDIAN 329 #endif 322 330 323 331 /* Define to empty if `const' does not conform to ANSI C. */ … … 342 350 #undef pid_t 343 351 344 /* Define to `unsigned ' if <sys/types.h> does not define. */352 /* Define to `unsigned int' if <sys/types.h> does not define. */ 345 353 #undef size_t 346 354 -
branches/ithildin-1.1/modules/ircd/addons/hostmask.c
r818 r820 100 100 sendto_flag(SFLAG("SPY"), "Changing hostname for %s!%s@%s to %s", 101 101 cli->nick, cli->user, cli->host, mask); 102 str cpy(cli->host, mask);102 strlcpy(cli->host, mask, HOSTLEN + 1); 103 103 } 104 104 -
branches/ithildin-1.1/modules/ircd/commands/webirc.c
r818 r820 70 70 (*cp->user ? cp->user : "<unknown>"), 71 71 cp->host, argv[3], argv[4]); 72 str cpy(cli->host, argv[3]);73 str cpy(cli->ip, argv[4]);72 strlcpy(cli->host, argv[3], HOSTLEN + 1); 73 strlcpy(cli->ip, argv[4], IPADDR_MAXLEN + 1); 74 74 } 75 75
Note: See TracChangeset
for help on using the changeset viewer.
