mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.9 KiB

  1. Use of tainted arguments in exec is deprecated at /var/www/cgi-bin/cvsweb.cgi line 2043.
  2. ===================================================================
  3. RCS file: /home2/webcvs/mirror/kdepim/libkdenetwork/kmime_codec_qp.h,v
  4. retrieving revision 1.4
  5. retrieving revision 1.5
  6. diff -u -p -r1.4 -r1.5
  7. --- kdepim/libkdenetwork/kmime_codec_qp.h 2003/07/26 14:51:52 1.4
  8. +++ kdepim/libkdenetwork/kmime_codec_qp.h 2003/10/30 14:15:30 1.5
  9. @@ -54,19 +54,11 @@ public:
  10. int result = 3*insize;
  11. // then after 25 hexchars comes a soft linebreak: =(\r)\n
  12. result += (withCRLF ? 3 : 2) * (insize/25);
  13. -
  14. +
  15. return result;
  16. }
  17. - int maxDecodedSizeFor( int insize, bool withCRLF=false ) const {
  18. - // all chars unencoded:
  19. - int result = insize;
  20. - // but maybe all of them are \n and we need to make them \r\n :-o
  21. - if ( withCRLF )
  22. - result += insize;
  23. -
  24. - return result;
  25. - }
  26. + int maxDecodedSizeFor( int insize, bool withCRLF=false ) const;
  27. Encoder * makeEncoder( bool withCRLF=false ) const;
  28. Decoder * makeDecoder( bool withCRLF=false ) const;
  29. @@ -92,11 +84,7 @@ public:
  30. return 3*insize;
  31. }
  32. - int maxDecodedSizeFor( int insize, bool withCRLF=false ) const {
  33. - (void)withCRLF; // keep compiler happy
  34. - // equally simple: nothing is encoded at all, so:
  35. - return insize;
  36. - }
  37. + int maxDecodedSizeFor( int insize, bool withCRLF=false ) const;
  38. Encoder * makeEncoder( bool withCRLF=false ) const;
  39. Decoder * makeDecoder( bool withCRLF=false ) const;
  40. @@ -121,11 +109,7 @@ public:
  41. return 3*insize;
  42. }
  43. - int maxDecodedSizeFor( int insize, bool withCRLF=false ) const {
  44. - (void)withCRLF; // keep compiler happy
  45. - // same as for "q" encoding:
  46. - return insize;
  47. - }
  48. + int maxDecodedSizeFor( int insize, bool withCRLF=false ) const;
  49. Encoder * makeEncoder( bool withCRLF=false ) const;
  50. Decoder * makeDecoder( bool withCRLF=false ) const;