diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-12-07 19:45:24 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-12-07 19:45:24 +0000 |
commit | ee657a1fb7fa9b9f9f4d89bdaec4ef8544ccd739 (patch) | |
tree | fae0d7f7fd4be7e6e173e1eb0e2ccb48df40d7c5 /src/map/intif.c | |
parent | e4b44bb0c6d412fe8d7e9f4877fe7f55356cb56d (diff) | |
download | hercules-ee657a1fb7fa9b9f9f4d89bdaec4ef8544ccd739.tar.gz hercules-ee657a1fb7fa9b9f9f4d89bdaec4ef8544ccd739.tar.bz2 hercules-ee657a1fb7fa9b9f9f4d89bdaec4ef8544ccd739.tar.xz hercules-ee657a1fb7fa9b9f9f4d89bdaec4ef8544ccd739.zip |
* Reverted r14563, due to multiple issues which render the source malfunctioning or uncompilable. To be redone later (bugreport:4627).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14567 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/intif.c')
-rw-r--r-- | src/map/intif.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/intif.c b/src/map/intif.c index 4ecabac1a..15d948c59 100644 --- a/src/map/intif.c +++ b/src/map/intif.c @@ -262,8 +262,8 @@ int intif_regtostr(char* str, struct global_reg *reg, int qty) int len =0, i; for (i = 0; i < qty; i++) { - len+= snprintf(str+len, sizeof (str+len), "%s", reg[i].str)+1; //We add 1 to consider the '\0' in place. - len+= snprintf(str+len, sizeof (str+len), "%s", reg[i].value)+1; + len+= sprintf(str+len, "%s", reg[i].str)+1; //We add 1 to consider the '\0' in place. + len+= sprintf(str+len, "%s", reg[i].value)+1; } return len; } @@ -1471,7 +1471,7 @@ int intif_parse_Mail_inboxreceived(int fd) else { char output[128]; - snprintf(output, sizeof output, msg_txt(510), sd->mail.inbox.unchecked, sd->mail.inbox.unread + sd->mail.inbox.unchecked); + sprintf(output, msg_txt(510), sd->mail.inbox.unchecked, sd->mail.inbox.unread + sd->mail.inbox.unchecked); clif_disp_onlyself(sd, output, strlen(output)); } return 0; |