diff options
Diffstat (limited to '')
-rw-r--r-- | src/fastcgi.h | 2 | ||||
-rw-r--r-- | src/formatter.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/fastcgi.h b/src/fastcgi.h index 1a3d02e..d290c40 100644 --- a/src/fastcgi.h +++ b/src/fastcgi.h | |||
@@ -102,6 +102,8 @@ namespace Bu | |||
102 | 102 | ||
103 | virtual void run(); | 103 | virtual void run(); |
104 | 104 | ||
105 | void stopRunning() { bRunning = false; } | ||
106 | |||
105 | virtual void onInit() { }; | 107 | virtual void onInit() { }; |
106 | virtual int onRequest( const StrHash &hParams, | 108 | virtual int onRequest( const StrHash &hParams, |
107 | const Bu::String &sStdIn, Bu::Stream &sStdOut, | 109 | const Bu::String &sStdIn, Bu::Stream &sStdOut, |
diff --git a/src/formatter.cpp b/src/formatter.cpp index 61a059a..f275d71 100644 --- a/src/formatter.cpp +++ b/src/formatter.cpp | |||
@@ -364,7 +364,7 @@ Bu::Formatter &Bu::operator<<( Bu::Formatter &f, char c ) | |||
364 | 364 | ||
365 | Bu::Formatter &Bu::operator<<( Bu::Formatter &f, unsigned char c ) | 365 | Bu::Formatter &Bu::operator<<( Bu::Formatter &f, unsigned char c ) |
366 | { | 366 | { |
367 | f.ifmt<unsigned char>( c ); | 367 | f.ufmt<unsigned char>( c ); |
368 | //f.write( (char *)&c, 1 ); | 368 | //f.write( (char *)&c, 1 ); |
369 | return f; | 369 | return f; |
370 | } | 370 | } |