From 17aeb75dcd66b99d540b6fc37604a4c8037ffec5 Mon Sep 17 00:00:00 2001 From: ai4rei Date: Sat, 15 Jan 2011 20:12:51 +0000 Subject: * Various accumulated insignificant fixes to documentation, examples and comments. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14674 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/db.c | 2 +- src/map/clif.c | 1 - src/map/script.c | 7 ++----- 3 files changed, 3 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/common/db.c b/src/common/db.c index 550bfd382..595ed241d 100644 --- a/src/common/db.c +++ b/src/common/db.c @@ -697,7 +697,7 @@ static void db_free_add(DBMap_impl* db, DBNode node, DBNode *root) db->alloc_file, db->alloc_line); exit(EXIT_FAILURE); } - if (!(db->options&DB_OPT_DUP_KEY)) { // Make shure we have a key until the node is freed + if (!(db->options&DB_OPT_DUP_KEY)) { // Make sure we have a key until the node is freed old_key = node->key; node->key = db_dup_key(db, node->key); db->release(old_key, node->data, DB_RELEASE_KEY); diff --git a/src/map/clif.c b/src/map/clif.c index b1f1261ed..332f396f9 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -12017,7 +12017,6 @@ void clif_parse_FriendsListReply(int fd, struct map_session_data *sd) account_id = RFIFOL(fd,2); char_id = RFIFOL(fd,6); reply = RFIFOB(fd,10); - //printf ("reply: %d %d %d\n", char_id, id, reply); f_sd = map_id2sd(account_id); //The account id is the same as the bl.id of players. if (f_sd == NULL) diff --git a/src/map/script.c b/src/map/script.c index 62462ce66..ed1e13aee 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -2133,9 +2133,9 @@ struct script_code* parse_script(const char *src,const char *file,int line,int o #ifdef DEBUG_DISP for(i=0;ipos=pos; st->state=GOTO; - // printf("script: jump_zero: jumpto : %d\n",pos); - } else { - // printf("script: jump_zero: fail\n"); } return 0; } -- cgit v1.2.3-70-g09d2