aboutsummaryrefslogtreecommitdiffstats
path: root/loadparm.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-11-03 07:08:27 +0000
committerAndrew Tridgell <tridge@samba.org>1998-11-03 07:08:27 +0000
commit654175798bdbdd6403e10c8fa74e8586b3612ea1 (patch)
tree00bd91cedb70268106d5bbe351c43865c4bc3eb9 /loadparm.c
parent3e578a1909bbb29a637291d36017f328e017a3bf (diff)
downloadandroid_external_rsync-654175798bdbdd6403e10c8fa74e8586b3612ea1.tar.gz
android_external_rsync-654175798bdbdd6403e10c8fa74e8586b3612ea1.tar.bz2
android_external_rsync-654175798bdbdd6403e10c8fa74e8586b3612ea1.zip
patch from Alberto Accomazzi <aaccomazzi@cfa.harvard.edu> to add
different exit codes for different conditions.
Diffstat (limited to 'loadparm.c')
-rw-r--r--loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loadparm.c b/loadparm.c
index ee9639af..6814d13a 100644
--- a/loadparm.c
+++ b/loadparm.c
@@ -358,7 +358,7 @@ static void string_set(char **s, char *v)
return;
}
*s = strdup(v);
- if (!*s) exit_cleanup(1);
+ if (!*s) exit_cleanup(RERR_MALLOC);
}