comparison mcabber/src/jabglue.c @ 752:d2d5ee71e68c

Fix small typo
author Mikael Berthe <mikael@lilotux.net>
date Tue, 14 Mar 2006 11:55:41 +0100
parents 4a7271e69694
children 5b962b978573
comparison
equal deleted inserted replaced
751:4a7271e69694 752:d2d5ee71e68c
1419 gotmessage(type, from, body, enc, timestamp); 1419 gotmessage(type, from, body, enc, timestamp);
1420 if (tmp) 1420 if (tmp)
1421 g_free(tmp); 1421 g_free(tmp);
1422 } 1422 }
1423 1423
1424 static void evscallback_subcription(eviqs *evp, guint evcontext) 1424 static void evscallback_subscription(eviqs *evp, guint evcontext)
1425 { 1425 {
1426 char *barejid; 1426 char *barejid;
1427 char *buf; 1427 char *buf;
1428 1428
1429 if (evcontext == EVS_CONTEXT_TIMEOUT) { 1429 if (evcontext == EVS_CONTEXT_TIMEOUT) {
1501 } 1501 }
1502 1502
1503 // Create a new event item 1503 // Create a new event item
1504 evn = evs_new(EVS_TYPE_SUBSCRIPTION, EVS_MAX_TIMEOUT); 1504 evn = evs_new(EVS_TYPE_SUBSCRIPTION, EVS_MAX_TIMEOUT);
1505 if (evn) { 1505 if (evn) {
1506 evn->callback = &evscallback_subcription; 1506 evn->callback = &evscallback_subscription;
1507 evn->data = g_strdup(r); 1507 evn->data = g_strdup(r);
1508 buf = g_strdup_printf("Please use /event %s accept|reject", evn->id); 1508 buf = g_strdup_printf("Please use /event %s accept|reject", evn->id);
1509 } else { 1509 } else {
1510 buf = g_strdup_printf("Unable to create a new event!"); 1510 buf = g_strdup_printf("Unable to create a new event!");
1511 } 1511 }