diff options
author | Gerald Carter <jerry@samba.org> | 2003-03-06 16:06:12 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-03-06 16:06:12 +0000 |
commit | 26b1ed7cc05e3bfd9f83bdb664cc6ca0a9883c4a (patch) | |
tree | 6803da3c40b1a8932aec7cb1837164eee7904538 /source3/printing | |
parent | ca0d82b11c0b17e793801ccc5acdc8624c7f3f19 (diff) | |
download | samba-26b1ed7cc05e3bfd9f83bdb664cc6ca0a9883c4a.tar.gz samba-26b1ed7cc05e3bfd9f83bdb664cc6ca0a9883c4a.tar.bz2 samba-26b1ed7cc05e3bfd9f83bdb664cc6ca0a9883c4a.zip |
add #define for the max device name length in a DEVICEMODE
(This used to be commit 21ec2b6ba3ddba6964f6ddb53f8494e4a8b48a83)
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/nt_printing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index 6df2c6b445..a486fb9c00 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -2110,7 +2110,7 @@ done: NT_DEVICEMODE *construct_nt_devicemode(const fstring default_devicename) { - char adevice[33]; + char adevice[MAXDEVICENAME]; NT_DEVICEMODE *nt_devmode = (NT_DEVICEMODE *)malloc(sizeof(NT_DEVICEMODE)); if (nt_devmode == NULL) { |