File: 04-nicklength.dpatch

package info (click to toggle)
ngircd 0.10.0-2etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 1,728 kB
  • ctags: 1,006
  • sloc: ansic: 12,476; sh: 3,837; makefile: 355
file content (32 lines) | stat: -rw-r--r-- 1,537 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#! /bin/sh /usr/share/dpatch/dpatch-run
## 99-unnamed.dpatch by  <mario@localhost.localdomain>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@

diff --context -r ngircd-0.9.2/src/ngircd/defines.h ngircd-0.9.2-new/src/ngircd/defines.h
*** ngircd-0.9.2/src/ngircd/defines.h	2005-07-05 23:58:25.000000000 +0100
--- ngircd-0.9.2-new/src/ngircd/defines.h	2006-03-05 00:45:35.000000000 +0000
***************
*** 41,49 ****
  #define CONNECTION_POOL 100		/* size of default connection pool */
  
  #define CLIENT_ID_LEN 64		/* max. length of an IRC ID; see RFC 2812, 1.1 and 1.2.1 */
! #define CLIENT_NICK_LEN 10		/* max. nick length; see. RFC 2812, 1.2.1 */
  #define CLIENT_PASS_LEN 21		/* max. password length */
! #define CLIENT_USER_LEN 10		/* Max. length of user name ("login")
   					   see RFC 2812, section 1.2.1 */
  #define CLIENT_NAME_LEN 32		/* max. length of "real names" */
  #define CLIENT_HOST_LEN 64		/* max. host name length */
--- 41,49 ----
  #define CONNECTION_POOL 100		/* size of default connection pool */
  
  #define CLIENT_ID_LEN 64		/* max. length of an IRC ID; see RFC 2812, 1.1 and 1.2.1 */
! #define CLIENT_NICK_LEN 16		/* max. nick length; see. RFC 2812, 1.2.1 */
  #define CLIENT_PASS_LEN 21		/* max. password length */
! #define CLIENT_USER_LEN 16		/* Max. length of user name ("login")
   					   see RFC 2812, section 1.2.1 */
  #define CLIENT_NAME_LEN 32		/* max. length of "real names" */
  #define CLIENT_HOST_LEN 64		/* max. host name length */