git.samba.org
/
samba.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
[samba.git]
/
testsuite
/
libsmbclient
/
src
/
init
/
init_2.c
1
#include <stdio.h>
2
#include <stdlib.h>
3
#include <string.h>
4
#include <errno.h>
5
#include <libsmbclient.h>
6
7
8
int main(int argc, char **argv )
9
{
10
int err = -1;
11
12
if ( argc > 1 )
13
{
14
err = smbc_init(NULL, atoi(argv[1]));
15
16
if ( err < 0 )
17
err = 1;
18
19
}
20
21
return err;
22
23
}