~ubuntu-branches/ubuntu/karmic/ucarp/karmic

« back to all changes in this revision

Viewing changes to src/fakesnprintf.c

  • Committer: Bazaar Package Importer
  • Author(s): Eric Evans
  • Date: 2004-12-24 12:39:30 UTC
  • Revision ID: james.westby@ubuntu.com-20041224123930-9qnzcd6o5j0jjjvm
Tags: 1.1-2
Patched to correct a bug that caused upscript to also be applied
when state changed to BACKUP, if --dowscript was passed before
--upscript, (Closes: #284891). Thanks Michail Bachmann
<michail.bachmann@cms.hu-berlin.de>

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
                *str++ = '%';
130
130
                size--;
131
131
                goto breakpoint_nextspecial_inc;
132
 
            case 'c': {
133
 
                int val;
134
 
                
135
 
                val = va_arg(va, int);
136
 
                *str++ = (char) val;
137
 
                size--;
138
 
                goto breakpoint_nextspecial_inc;                
139
 
            }
 
132
            case 'c': {
 
133
                int val;
 
134
                
 
135
                val = va_arg(va, int);
 
136
                *str++ = (char) val;
 
137
                size--;
 
138
                goto breakpoint_nextspecial_inc;                
 
139
            }
140
140
            case 'l': case 'L':
141
141
                longs++;
142
142
                goto breakpoint_nextspecial_inc;