summaryrefslogtreecommitdiff
path: root/source3/smbd/utmp.c
AgeCommit message (Collapse)AuthorFilesLines
2003-01-02BIG patch...Andrew Bartlett1-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)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2001-12-18Tidyup utmp code to cope with hostname = NULL.Jeremy Allison1-11/+13
Jeremy (This used to be commit 2a1b531a1c4f1a4772c95c867f35eac50ed1c7fa)
2001-12-13Patch for string legths from TAKAHASHI, Motonobu(monyo).Jeremy Allison1-17/+46
Jeremy. (This used to be commit f0d8b7573fc74004131ba0a82dbd5e0007a524bf)
2001-06-15Be sure to not use strlen with NULL pointer.Simo Sorce1-1/+2
(This used to be commit 53803b008717e8606b347ed8baab78121c6e9657)
2001-04-18new files for headAndrew Tridgell1-0/+575
(This used to be commit c0d4a1f5dd34e49843c879dd88fc78c7dffd9269)