Changeset cd4723c for protocols/oscar
- Timestamp:
- 2007-04-15T21:59:52Z (18 years ago)
- Branches:
- master
- Children:
- c2fb3809
- Parents:
- 552e641
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/oscar/oscar.c
r552e641 rcd4723c 1264 1264 guint16 chan, nummissed, reason; 1265 1265 aim_userinfo_t *userinfo; 1266 char buf[1024];1267 1266 1268 1267 va_start(ap, fr); … … 1276 1275 case 0: 1277 1276 /* Invalid (0) */ 1278 g_snprintf(buf, 1279 sizeof(buf), 1277 imc_error(sess->aux_data, 1280 1278 nummissed == 1 ? 1281 1279 _("You missed %d message from %s because it was invalid.") : … … 1286 1284 case 1: 1287 1285 /* Message too large */ 1288 g_snprintf(buf, 1289 sizeof(buf), 1286 imc_error(sess->aux_data, 1290 1287 nummissed == 1 ? 1291 1288 _("You missed %d message from %s because it was too large.") : … … 1296 1293 case 2: 1297 1294 /* Rate exceeded */ 1298 g_snprintf(buf, 1299 sizeof(buf), 1295 imc_error(sess->aux_data, 1300 1296 nummissed == 1 ? 1301 1297 _("You missed %d message from %s because the rate limit has been exceeded.") : … … 1306 1302 case 3: 1307 1303 /* Evil Sender */ 1308 g_snprintf(buf, 1309 sizeof(buf), 1304 imc_error(sess->aux_data, 1310 1305 nummissed == 1 ? 1311 1306 _("You missed %d message from %s because it was too evil.") : … … 1316 1311 case 4: 1317 1312 /* Evil Receiver */ 1318 g_snprintf(buf, 1319 sizeof(buf), 1313 imc_error(sess->aux_data, 1320 1314 nummissed == 1 ? 1321 1315 _("You missed %d message from %s because you are too evil.") : … … 1325 1319 break; 1326 1320 default: 1327 g_snprintf(buf, 1328 sizeof(buf), 1321 imc_error(sess->aux_data, 1329 1322 nummissed == 1 ? 1330 1323 _("You missed %d message from %s for unknown reasons.") : … … 1334 1327 break; 1335 1328 } 1336 imc_error(sess->aux_data, buf);1337 1329 1338 1330 return 1; … … 1926 1918 1927 1919 if (strlen(message) > od->rights.maxawaymsglen) { 1928 gchar *errstr; 1929 1930 errstr = g_strdup_printf("Maximum away message length of %d bytes exceeded, truncating", od->rights.maxawaymsglen); 1931 1932 imc_error(ic, errstr); 1933 1934 g_free(errstr); 1920 imc_error(ic, "Maximum away message length of %d bytes exceeded, truncating", od->rights.maxawaymsglen); 1935 1921 } 1936 1922
Note: See TracChangeset
for help on using the changeset viewer.