Displaying 1 result from an estimated 1 matches for "wglen".
Did you mean:
glen
2002 Nov 29
0
libsmbclient problem
...---- next part --------------
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include "libsmbclient.h"
static void auth_func( char const* server,
char const* share,
char* workgroup, int wglen,
char* username, int unlen,
char* password, int pwlen ) {
#if 1
printf( "need authentication: smb://%s/%s\n", server, share );
#endif
if ( workgroup[0] != '\0' ) {
memset( workgroup, '\0', wglen );
snprintf( work...