diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2015-01-17 20:00:49 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2015-01-17 20:00:49 +0000 |
commit | 1065dd4f38c81c83934ba51526471072837700ae (patch) | |
tree | 42ea01f5040065df60917daca6605318ec4f28df /dcc.c | |
parent | bc7a0d46e36a819755ca3f2b38194fb11eca0dd9 (diff) | |
parent | 6b13103dad92d505e038c268af66aeb04b7b4d87 (diff) |
Merge cleanup changes. (FSF address fix, and using GLib variants of some
functions which cleans up compiler warnings.)
Diffstat (limited to 'dcc.c')
-rw-r--r-- | dcc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License with the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; - if not, write to the Free Software Foundation, Inc., 59 Temple Place, - Suite 330, Boston, MA 02111-1307 USA + if not, write to the Free Software Foundation, Inc., 51 Franklin St., + Fifth Floor, Boston, MA 02110-1301 USA */ #define BITLBEE_CORE @@ -522,7 +522,7 @@ file_transfer_t *dcc_request( struct im_connection *ic, char* const* ctcp ) filename = ctcp[2]; host = ctcp[3]; - while( *host && isdigit( *host ) ) host++; /* Just digits? */ + while( *host && g_ascii_isdigit( *host ) ) host++; /* Just digits? */ if( *host == '\0' ) { struct in_addr ipaddr = { .s_addr = htonl( atoll( ctcp[3] ) ) }; |