Changeset 6ea8782 for protocols/skype


Ignore:
Timestamp:
2015-10-13T04:23:49Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
fa41a75
Parents:
b87e5dc
git-author:
dequis <dx@…> (09-10-15 03:05:27)
git-committer:
dequis <dx@…> (13-10-15 04:23:49)
Message:

skype: use g_vsnprintf() instead of vsnprintf()

More prefixes = better. The G stands for "good".

(it also fixes the warning about _BSD_SOURCE being deprecated)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/skype/skype.c

    rb87e5dc r6ea8782  
    2121
    2222#define _XOPEN_SOURCE
    23 #define _BSD_SOURCE
    2423#include <poll.h>
    2524#include <stdio.h>
     
    188187
    189188        va_start(args, fmt);
    190         vsnprintf(str, IRC_LINE_SIZE, fmt, args);
     189        g_vsnprintf(str, IRC_LINE_SIZE, fmt, args);
    191190        va_end(args);
    192191
Note: See TracChangeset for help on using the changeset viewer.