/[projects]/smsdaemon/HttpClient.cpp
ViewVC logotype

Diff of /smsdaemon/HttpClient.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 591 by torben, Thu Dec 18 06:53:29 2008 UTC revision 592 by torben, Fri Feb 19 08:47:31 2010 UTC
# Line 30  namespace HttpClient Line 30  namespace HttpClient
30                  char* bytes = reinterpret_cast<char*>(ptr);                  char* bytes = reinterpret_cast<char*>(ptr);
31                  std::vector<char>* vec = reinterpret_cast< std::vector<char>* >(stream);                  std::vector<char>* vec = reinterpret_cast< std::vector<char>* >(stream);
32    
33                    vec->reserve( vec->size() + total); //allow vector to do a preallocation if necessary
34    
35                  int i;                  int i;
36                  for (i=0; i<total; i++)                  for (i=0; i<total; i++)
37                  {                  {

Legend:
Removed from v.591  
changed lines
  Added in v.592

  ViewVC Help
Powered by ViewVC 1.1.20