~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/client.cc

  • Committer: Olaf van der Spek
  • Date: 2011-08-08 17:15:11 UTC
  • mto: This revision was merged to the branch mainline in revision 2396.
  • Revision ID: olafvdspek@gmail.com-20110808171511-ak53yodzv63leo4b
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
 
78
78
void plugin::Client::store(const char *from)
79
79
{
80
 
  if (from == NULL)
81
 
    return store();
82
 
 
83
 
  return store(from, strlen(from));
 
80
  return from ? store(from, strlen(from)) : store();
84
81
}
85
82
 
86
83