~ubuntu-branches/ubuntu/vivid/psi/vivid

« back to all changes in this revision

Viewing changes to iris/xmpp-core/xmlprotocol.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2008-08-28 18:46:52 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080828184652-iiik12dl91nq7cdi
Tags: 0.12-2
Uploading to unstable (Closes: Bug#494352)

Show diffs side-by-side

added added

removed removed

Lines of Context:
189
189
                }
190
190
                else if(c == '>')
191
191
                {
192
 
                        if(inquote)
193
 
                                escape = true;
194
 
                        else if(!intag)
195
 
                                escape = true;
196
 
                        else
 
192
                        if(inquote) {
 
193
                                escape = true;
 
194
                        } else if(!intag) {
 
195
                                escape = true;
 
196
                        } else {
197
197
                                intag = false;
 
198
                        }
198
199
                }
199
200
                else if(c == '\'' || c == '\"')
200
201
                {
207
208
                                }
208
209
                                else
209
210
                                {
210
 
                                        if(quotechar == c)
 
211
                                        if(quotechar == c) {
211
212
                                                inquote = false;
 
213
                                        }
212
214
                                }
213
215
                        }
214
216
                }