Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/jabglue.c @ 1381:40095d413da9
Fix compilation on OpenBSD
This patch fixes compilation on some BSD systems.
Thanks to "undet" for the suggestion regarding DATA_DIR.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 02 Dec 2007 10:36:42 +0100 |
parents | 605f9e1f9f76 |
children | d9606bd03144 |
comparison
equal
deleted
inserted
replaced
1380:605f9e1f9f76 | 1381:40095d413da9 |
---|---|
1951 scr_LogPrint(LPRINT_LOGNORM, "[Jabber] Communication with the server " | 1951 scr_LogPrint(LPRINT_LOGNORM, "[Jabber] Communication with the server " |
1952 "established"); | 1952 "established"); |
1953 online = TRUE; | 1953 online = TRUE; |
1954 update_last_use(); | 1954 update_last_use(); |
1955 // We set AutoConnection to true after the 1st successful connection | 1955 // We set AutoConnection to true after the 1st successful connection |
1956 AutoConnection = true; | 1956 AutoConnection = TRUE; |
1957 break; | 1957 break; |
1958 | 1958 |
1959 case JCONN_STATE_CONNECTING: | 1959 case JCONN_STATE_CONNECTING: |
1960 if (previous_state != state) | 1960 if (previous_state != state) |
1961 scr_LogPrint(LPRINT_LOGNORM, "[Jabber] Connecting to the server"); | 1961 scr_LogPrint(LPRINT_LOGNORM, "[Jabber] Connecting to the server"); |