summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-18 17:04:35 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-18 17:04:35 +0800
commitd5297864a9d86a2df6ec3c5344117c2038a7b826 (patch)
tree6b0136c6fc2e976fe0ccf1e9967da41d88746d08
parent917226654cc76abaf466ca2970f7cc7530d0a6bb (diff)
Fix subtle bug
-rw-r--r--user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/user.c b/user.c
index 21b4c44..ec97bba 100644
--- a/user.c
+++ b/user.c
@@ -45,7 +45,7 @@ void rtclient_user_new(const char *name
if (address1 && strcmp(address1, ""))
length += strlen("Address1: \n") + strlen(address1);
if (address2 && strcmp(address2, ""))
- length += strlen("Address1: \n") + strlen(address2);
+ length += strlen("Address2: \n") + strlen(address2);
if (city && strcmp(city, ""))
length += strlen("City: \n") + strlen(city);
if (state && strcmp(state, ""))