samba-3.5.8 for ARM
[tomato.git] / release / src-rt-6.x.4708 / router / samba-3.5.8 / testsuite / libsmbclient / src / init / init_2.c
blob120160297b6479c0a29c485dedd9e0767fa96565
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <string.h>
4 #include <errno.h>
5 #include <libsmbclient.h>
8 int main(int argc, char **argv )
10 int err = -1;
12 if ( argc > 1 )
14 err = smbc_init(NULL, atoi(argv[1]));
16 if ( err < 0 )
17 err = 1;
21 return err;