summaryrefslogtreecommitdiffstats
path: root/source3/smbd/utmp.c
Commit message (Collapse)AuthorAgeFilesLines
* BIG patch...Andrew Bartlett2003-01-021-1/+1
| | | | | | | | | | | | | | | | | This patch makes Samba compile cleanly with -Wwrite-strings. - That is, all string literals are marked as 'const'. These strings are always read only, this just marks them as such for passing to other functions. What is most supprising is that I didn't need to change more than a few lines of code (all in 'net', which got a small cleanup of net.h and extern variables). The rest is just adding a lot of 'const'. As far as I can tell, I have not added any new warnings - apart from making all of tdbutil.c's function const (so they warn for adding that const string to struct). Andrew Bartlett (This used to be commit 92a777d0eaa4fb3a1c7835816f93c6bdd456816d)
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* Tidyup utmp code to cope with hostname = NULL.Jeremy Allison2001-12-181-11/+13
| | | | | Jeremy (This used to be commit 2a1b531a1c4f1a4772c95c867f35eac50ed1c7fa)
* Patch for string legths from TAKAHASHI, Motonobu(monyo).Jeremy Allison2001-12-131-17/+46
| | | | | Jeremy. (This used to be commit f0d8b7573fc74004131ba0a82dbd5e0007a524bf)
* Be sure to not use strlen with NULL pointer.Simo Sorce2001-06-151-1/+2
| | | | (This used to be commit 53803b008717e8606b347ed8baab78121c6e9657)
* new files for headAndrew Tridgell2001-04-181-0/+575
(This used to be commit c0d4a1f5dd34e49843c879dd88fc78c7dffd9269)