Mercurial > hg > freeDiameter
comparison freeDiameterd/main.c @ 1450:32f158d0d859
Fix typo in comment.
author | Thomas Klausner <tk@giga.or.at> |
---|---|
date | Thu, 27 Feb 2020 15:39:49 +0100 |
parents | 4768e3bf1c9b |
children | 566bb46cc73f |
comparison
equal
deleted
inserted
replaced
1445:519c1a85dcd1 | 1450:32f158d0d859 |
---|---|
88 pidfile, strerror(ret)); | 88 pidfile, strerror(ret)); |
89 pidfile = NULL; /* disable pidfile_cleanup() */ | 89 pidfile = NULL; /* disable pidfile_cleanup() */ |
90 return ret; | 90 return ret; |
91 } | 91 } |
92 | 92 |
93 /* Cleaup pidfile on exit */ | 93 /* Cleanup pidfile on exit */ |
94 if (atexit(pidfile_cleanup) != 0) { | 94 if (atexit(pidfile_cleanup) != 0) { |
95 LOG_F("Unable to setup pidfile cleanup"); | 95 LOG_F("Unable to setup pidfile cleanup"); |
96 CHECK_SYS( fclose(fp) ); | 96 CHECK_SYS( fclose(fp) ); |
97 pidfile_cleanup(); | 97 pidfile_cleanup(); |
98 return EINVAL; | 98 return EINVAL; |