tcoyne/sambbox — pull request #1 by zachwhaley (2014-10-04 13:39:54+00:00)
Title: Fix compiler warning in dialect.dialect_string

First, How verbose of a branch name is too verbose?

Second, This removes a couple compiler warning I got.

g++ -I/usr/include -L/usr/lib64 -o smb main.cpp
main.cpp: In function ‘int main(int, char**)’:
main.cpp:105:32: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
dialects[0].dialect_string = "NT LM 0.12";
^
main.cpp:107:32: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
dialects[1].dialect_string = "SMB 2.002";
^