Summary: | ASTERISK-01619: mysql-vm-routines.h: no "default" context | ||
Reporter: | Anton Fedorov (datacompboy) | Labels: | |
Date Opened: | 2004-05-14 08:04:50 | Date Closed: | 2004-09-25 02:17:29 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) mysql-vm.diff.txt | |
Description: | at static struct ast_vm_user *find_user(struct ast_vm_user *ivm, char *context, char *mailbox) must be not sprintf(query, "SELECT password,fullname,email,pager,options FROM users WHERE context='%s' AND mailbox='%s'", context, mailbox); but sprintf(query, "SELECT password,fullname,email,pager,options FROM users WHERE context='%s' AND mailbox='%s'", retval->context, mailbox); | ||
Comments: | By: Brian West (bkw918) 2004-05-14 10:20:14 Ok try that fix, your fix wasn't quite right. But this is how I did it in odbc-vm-routines.h bkw By: Mark Spencer (markster) 2004-05-15 19:06:55 Fixed in CVS |