Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 160793 | Differences between
and this patch

Collapse All | Expand All

(-)src/hooks/ljhook.cc.orig (-2 / +2 lines)
Lines 669-675 Link Here
669
		if(!foempty) {
669
		if(!foempty) {
670
		    bd = (string) "http://" + conf.getourid(proto).server + "/users/" + in->first;
670
		    bd = (string) "http://" + conf.getourid(proto).server + "/users/" + in->first;
671
671
672
		    sprintf(buf, _("The user %s (%s) has added you to his/her friend list\n\nJournal address: %s"),
672
			snprintf(buf, sizeof(buf), _("The user %s (%s) has added you to his/her friend list\n\nJournal address: %s"),
673
			in->first.c_str(), in->second.c_str(), bd.c_str());
673
			in->first.c_str(), in->second.c_str(), bd.c_str());
674
674
675
		    em.store(imnotification(self, buf));
675
		    em.store(imnotification(self, buf));
Lines 679-685 Link Here
679
	    for(il = friendof.begin(); il != friendof.end(); ) {
679
	    for(il = friendof.begin(); il != friendof.end(); ) {
680
		if(nfriendof.find(*il) == nfriendof.end()) {
680
		if(nfriendof.find(*il) == nfriendof.end()) {
681
		    bd = (string) "http://" + conf.getourid(proto).server + "/users/" + *il;
681
		    bd = (string) "http://" + conf.getourid(proto).server + "/users/" + *il;
682
		    sprintf(buf, _("The user %s has removed you from his/her friend list\n\nJournal address: %s"),
682
			snprintf(buf, sizeof(buf), _("The user %s has removed you from his/her friend list\n\nJournal address: %s"),
683
			il->c_str(), bd.c_str());
683
			il->c_str(), bd.c_str());
684
		    em.store(imnotification(self, buf));
684
		    em.store(imnotification(self, buf));
685
		    friendof.erase(il);
685
		    friendof.erase(il);

Return to bug 160793