From dba48f18b5088708c5161af4074b0afaa26a134d Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 27 Jan 2013 21:32:10 +0000 Subject: [PATCH] Added development string to log --- src/profanity.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/profanity.c b/src/profanity.c index 193f486e..e90fd49f 100644 --- a/src/profanity.c +++ b/src/profanity.c @@ -521,7 +521,11 @@ _init(const int disable_tls, char *log_level) files_create_directories(); log_level_t prof_log_level = _get_log_level(log_level); log_init(prof_log_level); - log_info("Starting Profanity (%s)...", PACKAGE_VERSION); + if (strcmp(PACKAGE_STATUS, "development") == 0) { + log_info("Starting Profanity (%sdev)...", PACKAGE_VERSION); + } else { + log_info("Starting Profanity (%s)...", PACKAGE_VERSION); + } chat_log_init(); prefs_load(); accounts_load();