Changeset 228 for branches/samba-3.2.x/source/libsmb/clirap2.c
- Timestamp:
- May 26, 2009, 9:44:50 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/libsmb/clirap2.c
r133 r228 1857 1857 char upperbuf[MAX(RAP_USERNAME_LEN,RAP_MACHNAME_LEN)]; 1858 1858 int res = -1; 1859 char *tmp = NULL; 1859 1860 1860 1861 memset(param, 0, sizeof(param)); … … 1867 1868 strlcpy(upperbuf, user, sizeof(upperbuf)); 1868 1869 strupper_m(upperbuf); 1869 PUTSTRINGF(p, upperbuf, RAP_USERNAME_LEN); 1870 tmp = upperbuf; 1871 PUTSTRINGF(p, tmp, RAP_USERNAME_LEN); 1870 1872 p++; /* strange format, but ok */ 1871 1873 strlcpy(upperbuf, workstation, sizeof(upperbuf)); 1872 1874 strupper_m(upperbuf); 1873 PUTSTRINGF(p, upperbuf, RAP_MACHNAME_LEN); 1875 tmp = upperbuf; 1876 PUTSTRINGF(p, tmp, RAP_MACHNAME_LEN); 1874 1877 PUTWORD(p, CLI_BUFFER_SIZE); 1875 1878 PUTWORD(p, CLI_BUFFER_SIZE);
Note:
See TracChangeset
for help on using the changeset viewer.