diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-08 01:33:40 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-08 01:33:40 +0000 |
commit | 0a612a0a5a567605483b6401cbe0a2f7ee9133dc (patch) | |
tree | d98a01bb6aa98f213ea09e8ce4c8729cdab6ee98 /db/skill_db.txt | |
parent | c4dcc1a9106ce01cf02b0ffc32ab4498957ac390 (diff) | |
download | hercules-0a612a0a5a567605483b6401cbe0a2f7ee9133dc.tar.gz hercules-0a612a0a5a567605483b6401cbe0a2f7ee9133dc.tar.bz2 hercules-0a612a0a5a567605483b6401cbe0a2f7ee9133dc.tar.xz hercules-0a612a0a5a567605483b6401cbe0a2f7ee9133dc.zip |
* More aggressive cleaning up of the socket code
- removed unused session_data2 entry in sd
- added a new create_session() function, helps keep things cleaner (although it's ad-hoc and not perfect, since this is C)
- undid r4978 since it was getting in the way (re-add it if you need it)
- added defines for the recv, send and parse func pointers
- added null functions for the three actions, and made create_session() calls use those instead of NULL pointers; insignificant penalty and now:
- since all three funcs are always initialized, removed all those NULL checks
- removed the efd set, since as the people from the developernet forums pointed out, it's only for out-of-band data and NOT for error checking (in fact, select() bails out without giving any info if it errors out)
- reorganized the randomly placed socket.c contents somewhat
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9822 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'db/skill_db.txt')
0 files changed, 0 insertions, 0 deletions