Changeset 108 for branches/samba-3.0/source/lib
- Timestamp:
- Dec 11, 2007, 9:44:35 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/lib/version.c
r105 r108 29 29 static fstring samba_version; 30 30 static BOOL init_samba_version; 31 #ifdef SAMBA_VE NDOR_PATCH31 #ifdef SAMBA_VERSION_VENDOR_PATCH 32 32 fstring tmp_version; 33 33 size_t remaining; … … 41 41 SAMBA_VERSION_VENDOR_SUFFIX); 42 42 43 #ifdef SAMBA_VE NDOR_PATCH43 #ifdef SAMBA_VERSION_VENDOR_PATCH 44 44 remaining = sizeof(samba_version)-strlen(samba_version); 45 snprintf( tmp_version, sizeof(tmp_version), "-%d", SAMBA_VE NDOR_PATCH);45 snprintf( tmp_version, sizeof(tmp_version), "-%d", SAMBA_VERSION_VENDOR_PATCH); 46 46 strlcat( samba_version, tmp_version, remaining-1 ); 47 47 #endif
Note:
See TracChangeset
for help on using the changeset viewer.