diff options
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clidgram.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/libsmb/clidgram.c b/source3/libsmb/clidgram.c index a45cc009ac..70e97c6bb6 100644 --- a/source3/libsmb/clidgram.c +++ b/source3/libsmb/clidgram.c @@ -162,6 +162,7 @@ int cli_get_response(BOOL unique, char *mailslot, char *buf, int bufsiz) bcopy(&dgram->data[92], buf, MIN(bufsiz, (dgram->datasize - 92))); + return 0; } else return -1; @@ -218,7 +219,7 @@ int cli_get_backup_list(const char *myname, const char *send_to_name) cli_get_response(True, "\\MAILSLOT\\BROWSE", cli_backup_list, sizeof(cli_backup_list)); /* Should check the response here ... FIXME */ - + return 0; } /* @@ -234,4 +235,5 @@ int cli_get_backup_server(char *my_name, char *target, char *servername, int nam strncpy(servername, cli_backup_list, MIN(16, namesize)); + return 0; } |