The branch, master has been updated
       via  9447f86... Don't exit(0) on error
      from  a0e2632... s3: vfs_smb_traffic_analyzer.c: add VFS functions for 
file open and close

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 9447f863d281809a752836da8136eeae89c00353
Author: Jim McDonough <j...@samba.org>
Date:   Tue Mar 16 09:58:34 2010 -0400

    Don't exit(0) on error

-----------------------------------------------------------------------

Summary of changes:
 source3/utils/smbta-util.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/utils/smbta-util.c b/source3/utils/smbta-util.c
index 13686ae..8ce8fa5 100644
--- a/source3/utils/smbta-util.c
+++ b/source3/utils/smbta-util.c
@@ -56,7 +56,7 @@ static void create_keyfile(char *filename, char *key)
        keyfile = fopen(filename, "w");
        if (keyfile == NULL) {
                printf("error creating the keyfile!\n");
-               exit(0);
+               exit(1);
        }
        fprintf(keyfile, "%s", key);
        fclose(keyfile);
@@ -75,13 +75,13 @@ static char *load_key_from_file(char *filename)
        keyfile = fopen(filename, "r");
        if (keyfile == NULL) {
                printf("Error opening the keyfile!\n");
-               exit(0);
+               exit(1);
        }
        l = fscanf(keyfile, "%s", key);
        if (strlen(key) != 16) {
                printf("Key file in wrong format\n");
                fclose(keyfile);
-               exit(0);
+               exit(1);
        }
        return key;
 }


-- 
Samba Shared Repository

Reply via email to